Cargando…

Expert JavaScript /

Expert JavaScript is your definitive guide to understanding how and why JavaScript behaves the way it does. Master the inner workings of JavaScript by learning in detail how modern applications are made. In covering lesser-understood aspects of this powerful language and truly understanding how it w...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Daggett, Mark E. (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Berkeley, California] : Apress, [2013]
Colección:Expert's voice in Web development.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • At a Glance; Introduction; Chapter 1: Objects and Prototyping; JavaScript from a Bird's-Eye View; Scripting by Design; Objects Overview; Objectified; Property Manager; configurable; enumerable; writable; Inspecting Objects; Object.getOwnPropertyDescriptor; Object.getOwnPropertyNames; Object.getPrototypeOf; Object.hasOwnProperty; Object.keys; Object.isFrozen; Object.isPrototypeOf; Object.isExtensible; Object.isSealed; Object.valueOf; Object.is (ECMAScript 6); Modifying Objects; Object.freeze; Object.defineProperties; Object.defineProperty; Object.preventExtensions; Object.prototype.
  • Object.sealCalling Objects; Function.call and Function.apply; Creating Objects; Object Literals; new Object(); 1. JavaScript Creates a New Object; 2. JavaScript Links the Constructor of the Newly Created Object to the Animal Function; 3. JavaScript Links the Object's Prototype to Animal.prototype; 4. JavaScript Assigns Any Supplied Arguments to the Newly Created Object; Object.create; Programming Prototypically; Abstraction; Encapsulation; Polymorphism; Ad Hoc Polymorphism; Function Overloading; Operator Overloading; Inheritance; Power of Prototype; Understanding Prototypes.
  • Class by ConventionConstructors; Instance Properties; Instance Methods; Class Properties; Class Methods; Summary; Chapter 2: Functions; Blocks in JavaScript; Function Arguments; Winning Arguments; defaultParameters (ECMAScript 6); rest (ECMAScript 6); Function Types; Function Scopes; Arrow Prone (ECMAScript 6); Function Fu; Expression Closures; Immediately Invoked Function Expressions; Recursive Functions; Higher-Order Functions; Debugging Functions; Summary; Chapter 3: Getting Closure; The Straight Dope on Scope; Thisunderstandings; Let There Be Block Scope; My First Closure.
  • Why Use Closures?Object Factories; Create a Binding Proxy; Contextually Aware DOM Manipulation; Singleton Module Pattern; Summary; Chapter 4: Jargon and Slang; Jargon.prototype = new Slang(); What Is Programmatic Jargon?; Coercion; To String; To number; Context-Aware Coercion; Coercion Gotchas; Mixed Type Comparison Through Coercion; Complex Coercion; Logical Operators; Logical AND (& &); Assignments Through Comparisons or Implicit Fallback; Logical OR (); Default Values; Logical NOT (!); Shorthand Boolean; Double NOTs; Immediately Invoked Function Expression; Bit Twiddling; Bitwise AND (&).
  • Converting Hex to RGBBitwise OR (); Truncating Numbers; Bitwise XOR (^); Determining Sign Equality; Toggling Bits; Bitwise NOT (~); Bitwise Arithmetic; Parsing Strings into Numbers; Bitwise Shifting (>,>>>); Signum Function; Opaque Code; Sneaky eval; All Your Base; Unicode for Variables; WAT Indeed; Summary; Additional References; Chapter 5: Living Asynchronously; Understanding Concurrency in JavaScript; Concurrency; Advantages of Concurrency; Disadvantages of Concurrency; The Hard Truth of Concurrency in JavaScript; Understanding JavaScript Event Loop; Run-to-Completion.