Skip to content

Commit

Permalink
Editorial: Forbidden extensions misses a few 402 methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkirsling committed Mar 27, 2020
1 parent cf7aa9f commit 800b441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -24747,7 +24747,7 @@ <h1>Forbidden Extensions</h1>
Neither mapped nor unmapped arguments objects may be created with an own property named *"caller"*.
</li>
<li>
The behaviour of the following methods must not be extended except as specified in ECMA-402: `Object.prototype.toLocaleString`, `Array.prototype.toLocaleString`, `Number.prototype.toLocaleString`, `Date.prototype.toLocaleDateString`, `Date.prototype.toLocaleString`, `Date.prototype.toLocaleTimeString`, `String.prototype.localeCompare`, %TypedArray%`.prototype.toLocaleString`.
The behaviour of the following methods must not be extended except as specified in ECMA-402: `Object.prototype.toLocaleString`, `Array.prototype.toLocaleString`, `Number.prototype.toLocaleString`, `BigInt.prototype.toLocaleString`, `Date.prototype.toLocaleDateString`, `Date.prototype.toLocaleString`, `Date.prototype.toLocaleTimeString`, `String.prototype.localeCompare`, `String.prototype.toLocaleLowerCase`, `String.prototype.toLocaleUpperCase`, %TypedArray%`.prototype.toLocaleString`.
</li>
<li>
The RegExp pattern grammars in <emu-xref href="#sec-patterns"></emu-xref> and <emu-xref href="#sec-regular-expressions-patterns"></emu-xref> must not be extended to recognize any of the source characters A-Z or a-z as |IdentityEscape[+U]| when the <sub>[U]</sub> grammar parameter is present.
Expand Down

0 comments on commit 800b441

Please sign in to comment.