Skip to content

Commit

Permalink
Editorial: Fix unintentional normative changes from #266 / 5512445
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 20, 2015
1 parent a4716fd commit ce867bc
Showing 1 changed file with 27 additions and 20 deletions.
47 changes: 27 additions & 20 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -22509,14 +22509,15 @@ <h1>Object ( [ _value_ ] )</h1>
1. If _value_ is *null*, *undefined* or not supplied, return ObjectCreate(%ObjectPrototype%).
1. Return ToObject(_value_).
</emu-alg>
<p>The `length` property of the `Object` constructor is 1.</p>
</emu-clause>
</emu-clause>

<!-- es6num="19.1.2" -->
<emu-clause id="sec-properties-of-the-object-constructor">
<h1>Properties of the Object Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Object constructor is the intrinsic object %FunctionPrototype%.</p>
<p>Besides the `length` property (whose value is 1), the Object constructor has the following properties:</p>
<p>Besides the `length` property, the Object constructor has the following properties:</p>

<!-- es6num="19.1.2.1" -->
<emu-clause id="sec-object.assign">
Expand All @@ -22538,6 +22539,7 @@ <h1>Object.assign ( _target_, ..._sources_ )</h1>
1. Let _status_ be ? Set(_to_, _nextKey_, _propValue_, *true*).
1. Return _to_.
</emu-alg>
<p>The `length` property of the `assign` method is 2.</p>
</emu-clause>

<!-- es6num="19.1.2.2" -->
Expand Down Expand Up @@ -23202,7 +23204,7 @@ <h1>Boolean ( _value_ )</h1>
<emu-clause id="sec-properties-of-the-boolean-constructor">
<h1>Properties of the Boolean Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Boolean constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 1), the Boolean constructor has the following properties:</p>
<p>Besides the `length` property, the Boolean constructor has the following properties:</p>

<!-- es6num="19.3.2.1" -->
<emu-clause id="sec-boolean.prototype">
Expand Down Expand Up @@ -23286,7 +23288,7 @@ <h1>Symbol ( [ _description_ ] )</h1>
<emu-clause id="sec-properties-of-the-symbol-constructor">
<h1>Properties of the Symbol Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Symbol constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 0), the Symbol constructor has the following properties:</p>
<p>Besides the `length` property, the Symbol constructor has the following properties:</p>

<!-- es6num="19.4.2.1" -->
<emu-clause id="sec-symbol.for">
Expand Down Expand Up @@ -23557,7 +23559,7 @@ <h1>Error ( _message_ )</h1>
<emu-clause id="sec-properties-of-the-error-constructor">
<h1>Properties of the Error Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Error constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 1), the Error constructor has the following properties:</p>
<p>Besides the `length` property, the Error constructor has the following properties:</p>

<!-- es6num="19.5.2.1" -->
<emu-clause id="sec-error.prototype">
Expand Down Expand Up @@ -23691,7 +23693,7 @@ <h1>NativeError ( _message_ )</h1>
<emu-clause id="sec-properties-of-the-nativeerror-constructors">
<h1>Properties of the _NativeError_ Constructors</h1>
<p>The value of the [[Prototype]] internal slot of a _NativeError_ constructor is the intrinsic object %Error% (<emu-xref href="#sec-error-constructor"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 1), each _NativeError_ constructor has the following properties:</p>
<p>Besides the `length` property, each _NativeError_ constructor has the following properties:</p>

<!-- es6num="19.5.6.2.1" -->
<emu-clause id="sec-nativeerror.prototype">
Expand Down Expand Up @@ -23761,14 +23763,15 @@ <h1>Number ( [ _value_ ] )</h1>
1. Set the value of _O_'s [[NumberData]] internal slot to _n_.
1. Return _O_.
</emu-alg>
<p>The `length` property of the `Number` constructor is 1.</p>
</emu-clause>
</emu-clause>

<!-- es6num="20.1.2" -->
<emu-clause id="sec-properties-of-the-number-constructor">
<h1>Properties of the Number Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Number constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 1), the Number constructor has the following properties:</p>
<p>Besides the `length` property, the Number constructor has the following properties:</p>

<!-- es6num="20.1.2.1" -->
<emu-clause id="sec-number.epsilon">
Expand Down Expand Up @@ -24084,6 +24087,7 @@ <h1>Number.prototype.toString ( [ _radix_ ] )</h1>
1. Return the String representation of this Number value using the radix specified by _radixNumber_. Letters `a`-`z` are used for digits with values 10 through 35. The precise algorithm is implementation-dependent, however the algorithm should be a generalization of that specified in <emu-xref href="#sec-tostring-applied-to-the-number-type"></emu-xref>.
</emu-alg>
<p>The `toString` function is not generic; it throws a *TypeError* exception if its *this* value is not a Number or a Number object. Therefore, it cannot be transferred to other kinds of objects for use as a method.</p>
<p>The `length` property of the `toString` method is 1.</p>
</emu-clause>

<!-- es6num="20.1.3.7" -->
Expand Down Expand Up @@ -24653,7 +24657,6 @@ <h1>Math.hypot ( _value1_ , _value2_ , ..._values_ )</h1>
If all arguments are either +0 or -0, the result is +0.
</li>
</ul>
<p>The length property of the `hypot` function is 2.</p>
<emu-note>
<p>Implementations should take care to avoid the loss of precision from overflows and underflows that are prone to occur in naive implementations when this function is called with two or more arguments.</p>
</emu-note>
Expand Down Expand Up @@ -25598,7 +25601,7 @@ <h1>Date ( )</h1>
<emu-clause id="sec-properties-of-the-date-constructor">
<h1>Properties of the Date Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Date constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is `7`), the Date constructor has the following properties:</p>
<p>Besides the `length` property, the Date constructor has the following properties:</p>

<!-- es6num="20.3.3.1" -->
<emu-clause id="sec-date.now">
Expand Down Expand Up @@ -25646,6 +25649,7 @@ <h1>Date.UTC ( _year_, _month_ [ , _date_ [ , _hours_ [ , _minutes_ [ , _seconds
1. If _y_ is not *NaN* and 0 &le; ToInteger(_y_) &le; 99, let _yr_ be 1900+ToInteger(_y_); otherwise, let _yr_ be _y_.
1. Return TimeClip(MakeDate(MakeDay(_yr_, _m_, _dt_), MakeTime(_h_, _min_, _s_, _milli_))).
</emu-alg>
<p>The `length` property of the `UTC` function is 7.</p>
<emu-note>
<p>The `UTC` function differs from the `Date` constructor in two ways: it returns a time value as a Number, rather than creating a Date object, and it interprets the arguments in UTC rather than as local time.</p>
</emu-note>
Expand Down Expand Up @@ -26315,7 +26319,7 @@ <h1>String ( _value_ )</h1>
<emu-clause id="sec-properties-of-the-string-constructor">
<h1>Properties of the String Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the String constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 1), the String constructor has the following properties:</p>
<p>Besides the `length` property, the String constructor has the following properties:</p>

<!-- es6num="21.1.2.1" -->
<emu-clause id="sec-string.fromcharcode">
Expand Down Expand Up @@ -28785,7 +28789,7 @@ <h1>Runtime Semantics: EscapeRegExpPattern ( _P_, _F_ )</h1>
<emu-clause id="sec-properties-of-the-regexp-constructor">
<h1>Properties of the RegExp Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the RegExp constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 2), the RegExp constructor has the following properties:</p>
<p>Besides the `length` property, the RegExp constructor has the following properties:</p>

<!-- es6num="21.2.4.1" -->
<emu-clause id="sec-regexp.prototype">
Expand Down Expand Up @@ -29360,14 +29364,15 @@ <h1>Array (..._items_ )</h1>
1. Assert: the value of _array_'s `length` property is _numberOfArgs_.
1. Return _array_.
</emu-alg>
<p>The `length` property of the Array constructor is 1.</p>
</emu-clause>
</emu-clause>

<!-- es6num="22.1.2" -->
<emu-clause id="sec-properties-of-the-array-constructor">
<h1>Properties of the Array Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Array constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 1), the Array constructor has the following properties:</p>
<p>Besides the `length` property, the Array constructor has the following properties:</p>

<!-- es6num="22.1.2.1" -->
<emu-clause id="sec-array.from">
Expand Down Expand Up @@ -31341,6 +31346,7 @@ <h1>%TypedArray%.prototype.reverse ( )</h1>
<h1>%TypedArray%.prototype.set ( _overloaded_ [ , _offset_ ])</h1>
<p>%TypedArray%`.prototype.set` is a single function whose behaviour is overloaded based upon the type of its first argument.</p>
<p>This function is not generic. The *this* value must be an object with a [[TypedArrayName]] internal slot.</p>
<p>The `length` property of the `set` method is 2.</p>

<!-- es6num="22.2.3.22.1" -->
<emu-clause id="sec-%typedarray%.prototype.set-array-offset">
Expand Down Expand Up @@ -31376,7 +31382,6 @@ <h1>%TypedArray%.prototype.set (_array_ [ , _offset_ ] )</h1>
1. Set _targetByteIndex_ to _targetByteIndex_ + _targetElementSize_.
1. Return *undefined*.
</emu-alg>
<p>The `length` property of the `set` method is 2.</p>
</emu-clause>

<!-- es6num="22.2.3.22.2" -->
Expand Down Expand Up @@ -31871,7 +31876,7 @@ <h1>Map ( [ _iterable_ ] )</h1>
<emu-clause id="sec-properties-of-the-map-constructor">
<h1>Properties of the Map Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Map constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 0), the Map constructor has the following properties:</p>
<p>Besides the `length` property, the Map constructor has the following properties:</p>

<!-- es6num="23.1.2.1" -->
<emu-clause id="sec-map.prototype">
Expand Down Expand Up @@ -32234,7 +32239,7 @@ <h1>Set ( [ _iterable_ ] )</h1>
<emu-clause id="sec-properties-of-the-set-constructor">
<h1>Properties of the Set Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the Set constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 0), the Set constructor has the following properties:</p>
<p>Besides the `length` property, the Set constructor has the following properties:</p>

<!-- es6num="23.2.2.1" -->
<emu-clause id="sec-set.prototype">
Expand Down Expand Up @@ -32592,7 +32597,7 @@ <h1>WeakMap ( [ _iterable_ ] )</h1>
<emu-clause id="sec-properties-of-the-weakmap-constructor">
<h1>Properties of the WeakMap Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the WeakMap constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 0), the WeakMap constructor has the following properties:</p>
<p>Besides the `length` property, the WeakMap constructor has the following properties:</p>

<!-- es6num="23.3.2.1" -->
<emu-clause id="sec-weakmap.prototype">
Expand Down Expand Up @@ -32747,7 +32752,7 @@ <h1>WeakSet ( [ _iterable_ ] )</h1>
<emu-clause id="sec-properties-of-the-weakset-constructor">
<h1>Properties of the WeakSet Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the WeakSet constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 0), the WeakSet constructor has the following properties:</p>
<p>Besides the `length` property, the WeakSet constructor has the following properties:</p>

<!-- es6num="23.4.2.1" -->
<emu-clause id="sec-weakset.prototype">
Expand Down Expand Up @@ -33188,15 +33193,15 @@ <h1>DataView (_buffer_ [ , _byteOffset_ [ , _byteLength_ ] ] )</h1>
1. Set _O_'s [[ByteOffset]] internal slot to _offset_.
1. Return _O_.
</emu-alg>
<p>The `length` property of the `DataView` function is 3.</p>
<p>The `length` property of the `DataView` constructor is 3.</p>
</emu-clause>
</emu-clause>

<!-- es6num="24.2.3" -->
<emu-clause id="sec-properties-of-the-dataview-constructor">
<h1>Properties of the DataView Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the `DataView` constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 3), the DataView constructor has the following properties:</p>
<p>Besides the `length` property, the DataView constructor has the following properties:</p>

<!-- es6num="24.2.3.1" -->
<emu-clause id="sec-dataview.prototype">
Expand Down Expand Up @@ -33480,6 +33485,7 @@ <h1>JSON.parse ( _text_ [ , _reviver_ ] )</h1>
1. Else,
1. Return _unfiltered_.
</emu-alg>
<p>The `length` property of the `parse` function is 2.</p>
<p>JSON allows Unicode code units 0x2028 (LINE SEPARATOR) and 0x2029 (PARAGRAPH SEPARATOR) to directly appear in String literals without using an escape sequence. This is enabled by using the following alternative definition of |DoubleStringCharacter| when parsing _scriptText_ in step 4:</p>
<emu-grammar>
DoubleStringCharacter ::
Expand Down Expand Up @@ -33578,6 +33584,7 @@ <h1>JSON.stringify ( _value_ [ , _replacer_ [ , _space_ ] ] )</h1>
1. Assert: _status_ is *true*.
1. Return ? SerializeJSONProperty(the empty String, _wrapper_).
</emu-alg>
<p>The `length` property of the `stringify` function is 3.</p>
<emu-note>
<p>JSON structures are allowed to be nested to any depth, but they must be acyclic. If _value_ is or contains a cyclic structure, then the stringify function must throw a *TypeError* exception. This is an example of a value that cannot be stringified:</p>
<pre><code class="javascript">
Expand Down Expand Up @@ -34713,7 +34720,7 @@ <h1>Promise ( _executor_ )</h1>
<emu-clause id="sec-properties-of-the-promise-constructor">
<h1>Properties of the Promise Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the `Promise` constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>Besides the `length` property (whose value is 1), the Promise constructor has the following properties:</p>
<p>Besides the `length` property, the Promise constructor has the following properties:</p>

<!-- es6num="25.4.4.1" -->
<emu-clause id="sec-promise.all">
Expand Down Expand Up @@ -35228,7 +35235,7 @@ <h1>Proxy ( _target_, _handler_ )</h1>
<h1>Properties of the Proxy Constructor</h1>
<p>The value of the [[Prototype]] internal slot of the `Proxy` constructor is the intrinsic object %FunctionPrototype% (<emu-xref href="#sec-properties-of-the-function-prototype-object"></emu-xref>).</p>
<p>The `Proxy` constructor does not have a `prototype` property because proxy exotic objects do not have a [[Prototype]] internal slot that requires initialization.</p>
<p>Besides the `length` property (whose value is 2), the `Proxy` constructor has the following properties:</p>
<p>Besides the `length` property, the `Proxy` constructor has the following properties:</p>

<!-- es6num="26.2.2.1" -->
<emu-clause id="sec-proxy.revocable">
Expand Down

0 comments on commit ce867bc

Please sign in to comment.