What you will learn in Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond
New features of ECMAScript 2015, 2016, and beyond
Chapter by chapter
Chapter 1: Lesson 1. ECMAScript specification and the proposal process
What you learn in chapter 1 →Concepts explained in this book
- generatorAn iterator-like object returned by a generator function that controls resuming the generator and retrieving yielded values.
- MapA map is an associative data structure that stores key-value pairs and supports retrieving values by key.
- destructuring assignmentA JavaScript assignment form that extracts properties from an object into distinct variables, optionally renaming the bindings.
- yieldA JavaScript keyword used inside generator functions to pause execution and produce or receive a value.
- moduleA separate source file or file-level unit that encapsulates code and can be imported or exported as part of a larger program.
- promiseA JavaScript Promise is an object representing the eventual completion or failure of an asynchronous operation and its resulting value or reason.
- nextA method on a generator object that advances execution until the next yield or completion and may supply a value back into the generator.
- setA JavaScript collection type that stores unique values and provides iterable traversal over its elements.
- import statementA JavaScript module syntax form that brings bindings or module code into the current module from another module.
- default exportThe single export in a module that is treated as the module's primary exported value and imported without curly-brace name matching.
- variable declaration keywordA JavaScript keyword that declares a block-scoped local variable whose binding cannot be accessed outside the block where it is declared.
- symbolA symbol value that is guaranteed not to be equal to any other symbol value.
- named exportA module export that is made available under an explicit name and must be imported by that name unless renamed.
- doneA Boolean result property in an iteration result that indicates whether iteration has finished.
- value propertyThe result property in an iteration result that carries the yielded or returned value associated with that step.
- default valueA function parameter form that supplies an automatic fallback value when the caller does not provide an argument or provides undefined.
- tagged templateA JavaScript function that is invoked with a template literal's parts to customize how the literal is processed.
- classA language construct that defines a blueprint for creating objects with shared behavior and state.
- iterableAn object or value that can be traversed element by element by the iteration protocol.
- iterable protocolThe well-known property name that an iterable object exposes to supply an iterator in JavaScript.
- Object.assignA JavaScript static method that copies the values of enumerable own properties from one or more source objects to a target object and returns that target object.
- scopeA scoping rule in which a binding is visible only within the block in which it is declared and nested blocks inside it.
- rest operatorA function parameter in JavaScript syntax that collects the remaining arguments into a single array binding and must appear last in the parameter list.
- import/export syntaxA module syntax form that makes a declaration or value available outside the current module.
- spread operatorA JavaScript operator form that expands an iterable or object into individual elements or properties in an expression or argument list.
- then methodA Promise method that registers callbacks to run when the promise is fulfilled or rejected, returning a new promise for chaining.
- template literalA JavaScript literal syntax that supports embedded expressions, multiline text, and optional tag functions for processing the literal parts and substitutions.
- observableAn observable is a source of asynchronous values that can be subscribed to and can signal start, next, error, and complete notifications to an observer.
- methodA function associated with an object or class that is invoked through that object or class.
- arrow functionA concise function expression form with lexical this binding in JavaScript.
- async/awaitA JavaScript keyword placed before function that marks the function as asynchronous and enables await inside it.
- transpilationThe source-to-source transformation of code from one programming language or language version into another with similar semantics.
- interpolationThe insertion of a value into a string’s text during string construction so the value becomes part of the resulting string.
- bindingA named program binding that refers to a value and may or may not be reassigned depending on its declaration form.
- BrowserifyA JavaScript module bundler that resolves dependencies starting from an entry file and produces a bundled file for use in browser or Node.js environments.
- getSpritePropertyA game-framework helper method for retrieving a sprite's property value regardless of whether it is stored statically, as an instance property, or as a method.
- popAn array method that removes the last element from an array and returns it.
- cardAn individual playing card with suit and face attributes in a card deck.
- card gameA game played with a deck of cards according to rules that define how cards are dealt, ranked, and used to determine outcomes.
- shuffleAn operation that rearranges a collection into a random order.
- glue codeCode whose main purpose is to connect separate modules or components together.
- promise chainA sequence of linked promise operations in which the outcome of one promise feeds subsequent handlers.
- Promise.resolveA Promise factory method that creates a promise already resolved with a given value or assimilates an existing thenable.
- Promise.allA Promise class method that returns a promise fulfilled when all input promises fulfill, or rejected when any input promise rejects.
- Promise.raceA Promise class method that settles as soon as the first input promise settles and adopts that promise's outcome.
- multiline stringA string literal form whose source text may span multiple lines, preserving line breaks and other whitespace in the literal text.
- promptA browser-hosted dialog API that displays a message and optionally accepts text input from the user.
- static fieldA property defined on a class or constructor itself rather than on instances created from it.
- resolveA function provided to a Promise executor that settles the promise successfully with a fulfillment value or thenable.
- for...ofA JavaScript looping statement that iterates over iterable values by repeatedly obtaining successive items from an iterator.
- super keywordA JavaScript keyword used in a subclass to invoke superclass constructors or access superclass methods and properties.
- .babelrcA Babel configuration file, typically placed in a project root and written as JSON to specify Babel settings.
- babelifyA Browserify transform that applies Babel transpilation to JavaScript files during bundling.
- shorthand method nameA JavaScript object-literal method syntax that defines a function without the `function` keyword and binds it as an object property.
- combinatorA higher-order function or construct that builds a new operation by composing or transforming existing ones.
- Promise.rejectA Promise constructor method that returns a promise already rejected with the given reason.
- arrayA built-in JavaScript ordered, indexable collection type whose constructor can create arrays of specified length or elements.
- Array.ofA JavaScript static method that creates a new Array-like instance from its arguments, avoiding the Array constructor's numeric-argument ambiguity.
- Array.prototype.fillA JavaScript array method that assigns a specified value into every element position of an array, including sparse slots, and returns the modified array.
- hoistingThe behavior by which declarations are processed as though moved to the top of their scope before execution, affecting when bindings can be accessed.
- isPressingSpaceA game-framework helper function that reports whether the player is pressing the spacebar.
- rate limitA rate-limiting technique that ensures a function is not invoked more often than allowed by a specified schedule.
- computed property nameAn object-literal form in which a property key is evaluated from an expression rather than written as a fixed identifier or string literal.
- Array.fromA JavaScript Array static method that creates a new array from an array-like or iterable object.
- shorthand property nameAn object-literal form in which a property can be written using a single identifier when the property name and value binding share the same name.
- 2d contextA canvas rendering context that exposes a two-dimensional drawing API for painting onto a canvas.
- alpha channelThe transparency component of a color or image, typically represented as an opacity value from fully transparent to fully opaque.
- canvas elementAn HTML element that provides a scriptable bitmap drawing surface for web graphics.
- drawImageA canvas context method that draws an image or portion of an image onto the canvas.
- fade inAn animation technique that increases opacity over time until content becomes fully visible.
- globalAlphaA canvas context property that sets the global transparency used for subsequent drawing operations.
- WeakMapA JavaScript key-value collection whose keys are held weakly, so key objects do not prevent garbage collection and the collection is not iterable.
- String.prototype.padEndA JavaScript string method that pads the end of a string with a specified filler until the string reaches a target length.
- String.prototype.padStartA JavaScript string method that pads the start of a string with a specified filler until the string reaches a target length.
- String.prototype.repeatA JavaScript string method that returns a new string consisting of the original string repeated a specified number of times.
- namespace collisionAn accidental conflict caused when distinct identifiers or values are mistaken for one another or map to the same name.
- entry pointThe initial file or module from which dependency analysis and loading begins in a module graph.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.
