![]() Method members like _proto_() will not overwrite the ] anymore.Now only a single member notated as _proto_:value will mutate the ] in the object literal syntax.ES2015 semantics for prototype mutations using object literals have been implemented ( bug 1061853).See TypedArray and bug 896116 for more information. ( %TypedArray% and %TypedArray%.prototype inherit from Function.prototype and Object.prototype, respectively, so that typed array constructors and instances still have the properties found on those objects.) Typed array function properties now reside on %TypedArray%.prototype and work on any typed array. Each typed array prototype now inherits from %TypedArray%.prototype. The various TypedArray constructors now have as their ] a single function, denoted %TypedArray% in ES2015 (but otherwise not directly exposed). ![]() String(Symbol("1")) now no longer throws a TypeError instead a string ( "Symbol(1)") gets returned ( bug 1058396).ES2015 Symbols (only available in the Nightly channel) have been updated to conform with recent specification changes:.Using a variable declared using let in function bodies before the declaration is reached and evaluated is now a runtime error.Redeclaring existing variables or arguments using let within the same scope in function bodies is now a syntax error.See also this newsgroup announcement and bug 1001090. In conformance with ES2015 let semantics, the following situations now throw errors. The " temporal dead zone" for let declarations has been implemented.
0 Comments
Leave a Reply. |