Object Literal Syntax Extensions Property Initializer Shorthand Concise Methods Computed Property Names Object Literal Syntax Extensions The object literal is one of the mos...
About This Book Browser and Node.js Compatibility Who This Book is For Overview Conventions Used Help and Support About This Book A good understanding of ECMAScript 6 feat...
Block-Level Functions Deciding When to Use Block-Level Functions Block-Level Functions in Nonstrict Mode Block-Level Functions In ECMAScript 3 and earlier, a function declara...
Unicode Identifiers Unicode Identifiers ECMAScript 6 offers better Unicode support than previous versions of JavaScript, and it also changes what characters may be used as iden...
Proxies and the Reflection API Proxies and the Reflection API ECMAScript 5 and ECMAScript 6 were both developed with demystifying JavaScript functionality in mind. For example,...
7.3. Convert a key to a value 7.3. Convert a key to a value The steps to convert a key to a value are as follows. These steps take one argument, key, and return an ECMAScript v...
Clarifying the Dual Purpose of Functions Determining How a Function was Called in ECMAScript 5 The new.target MetaProperty Clarifying the Dual Purpose of Functions In ECMAScr...
Working with Unnamed Parameters Unnamed Parameters in ECMAScript 5 Rest Parameters Rest Parameter Restrictions How Rest Parameters Affect the arguments Object Working with ...
7.3. Convert a key to a value 7.3. Convert a key to a value To convert a key to a value with key, run the following steps. The steps return an ECMAScript value. Let type be k...