archives

« Bugzilla Issues Index

#3396 — 20.2 The Math Object... should use %ObjectPrototype%


Currently:

The value of the [[Prototype]] internal slot of the Math object is the standard built-in Object prototype object (19.1.3).

Expected:

The value of the [[Prototype]] internal slot of the Math object is the intrinsic object %ObjectPrototype% (19.1.3)


Same thing for:

- JSON https://people.mozilla.org/~jorendorff/es6-draft.html#sec-json-object
- Reflect https://people.mozilla.org/~jorendorff/es6-draft.html#sec-reflect-object
- System (seems to be missing, but this would apply there as well)


Also, I believe the section number "(19.1.3)" can be removed from all of these and all other occurrences as well, since the definition won't change but the section may.


fixed in rev30 editor's draft

Changed all of the built-ins to use %names% for initializing constructor, prototype, and [[Prototype]].

I left in the section references. The number are fairly stable and people seem to like such hyperlinks.


fixed in rev30