archives

« Bugzilla Issues Index

#2916 — Wrong length for new builtin functions


New built in functions should follow the rules of ES6 when it comes to the length property. For example Map should have length 0 and not 1.

We should change the headers back to use optional parameters for consistency and change the rules for builtin function lengths in chapter 17 to also handle optional parameters.


Fixed in rev34 editor's draft

updated lengths for:

Symbol, Map, Set, WeakMap, WeakSet

Reflect.construct, Reflect.enumerate, Reflect.get Reflect.set


fixed in rev34