Skip to content

Commit b6f03a8

Browse files
Editorial: use conventional notation for referring to types in Table 4
1 parent cbd470f commit b6f03a8

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

spec.html

+19-19
Original file line numberDiff line numberDiff line change
@@ -2911,7 +2911,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
29112911
[[GetPrototypeOf]]
29122912
</td>
29132913
<td>
2914-
( ) <b>→</b> Object | Null
2914+
( ) <b>→</b> an Object or *null*
29152915
</td>
29162916
<td>
29172917
Determine the object that provides inherited properties for this object. A *null* value indicates that there are no inherited properties.
@@ -2922,7 +2922,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
29222922
[[SetPrototypeOf]]
29232923
</td>
29242924
<td>
2925-
(Object | Null) <b>→</b> Boolean
2925+
(an Object or *null*) <b>→</b> a Boolean
29262926
</td>
29272927
<td>
29282928
Associate this object with another object that provides inherited properties. Passing *null* indicates that there are no inherited properties. Returns *true* indicating that the operation was completed successfully or *false* indicating that the operation was not successful.
@@ -2933,7 +2933,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
29332933
[[IsExtensible]]
29342934
</td>
29352935
<td>
2936-
( ) <b>→</b> Boolean
2936+
( ) <b>→</b> a Boolean
29372937
</td>
29382938
<td>
29392939
Determine whether it is permitted to add additional properties to this object.
@@ -2944,7 +2944,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
29442944
[[PreventExtensions]]
29452945
</td>
29462946
<td>
2947-
( ) <b>→</b> Boolean
2947+
( ) <b>→</b> a Boolean
29482948
</td>
29492949
<td>
29502950
Control whether new properties may be added to this object. Returns *true* if the operation was successful or *false* if the operation was unsuccessful.
@@ -2955,73 +2955,73 @@ <h1>Object Internal Methods and Internal Slots</h1>
29552955
[[GetOwnProperty]]
29562956
</td>
29572957
<td>
2958-
(_propertyKey_) <b>→</b> Undefined | Property Descriptor
2958+
(a property key) <b>→</b> a Property Descriptor or *undefined*
29592959
</td>
29602960
<td>
2961-
Return a Property Descriptor for the own property of this object whose key is _propertyKey_, or *undefined* if no such property exists.
2961+
Return a Property Descriptor for the own property of this object whose key is the passed property key, or *undefined* if no such property exists.
29622962
</td>
29632963
</tr>
29642964
<tr>
29652965
<td>
29662966
[[DefineOwnProperty]]
29672967
</td>
29682968
<td>
2969-
(_propertyKey_, _PropertyDescriptor_) <b>→</b> Boolean
2969+
(a property key, a Property Descriptor) <b>→</b> a Boolean
29702970
</td>
29712971
<td>
2972-
Create or alter the own property, whose key is _propertyKey_, to have the state described by _PropertyDescriptor_. Return *true* if that property was successfully created/updated or *false* if the property could not be created or updated.
2972+
Create or alter the own property, whose key is the passed property key, to have the state described by the passed Property Descriptor. Return *true* if that property was successfully created/updated or *false* if the property could not be created or updated.
29732973
</td>
29742974
</tr>
29752975
<tr>
29762976
<td>
29772977
[[HasProperty]]
29782978
</td>
29792979
<td>
2980-
(_propertyKey_) <b>→</b> Boolean
2980+
(a property key) <b>→</b> a Boolean
29812981
</td>
29822982
<td>
2983-
Return a Boolean value indicating whether this object already has either an own or inherited property whose key is _propertyKey_.
2983+
Return a Boolean value indicating whether this object already has either an own or inherited property whose key is the passed property key.
29842984
</td>
29852985
</tr>
29862986
<tr>
29872987
<td>
29882988
[[Get]]
29892989
</td>
29902990
<td>
2991-
(_propertyKey_, _Receiver_) <b>→</b> <em>any</em>
2991+
(a property key, an ECMAScript language value) <b>→</b> an ECMAScript language value
29922992
</td>
29932993
<td>
2994-
Return the value of the property whose key is _propertyKey_ from this object. If any ECMAScript code must be executed to retrieve the property value, _Receiver_ is used as the *this* value when evaluating the code.
2994+
Return the value of the property of this object whose key is the passed property key. If any ECMAScript code must be executed to retrieve the property value, the value passed as the second parameter is used as the *this* value when evaluating the code.
29952995
</td>
29962996
</tr>
29972997
<tr>
29982998
<td>
29992999
[[Set]]
30003000
</td>
30013001
<td>
3002-
(_propertyKey_, _value_, _Receiver_) <b>→</b> Boolean
3002+
(a property key, an ECMAScript Language value, an ECMAScript language value) <b>→</b> a Boolean
30033003
</td>
30043004
<td>
3005-
Set the value of the property whose key is _propertyKey_ to _value_. If any ECMAScript code must be executed to set the property value, _Receiver_ is used as the *this* value when evaluating the code. Returns *true* if the property value was set or *false* if it could not be set.
3005+
Set the value of the property whose key is the passed property key to the value passed as the second parameter. If any ECMAScript code must be executed to retrieve the property value, the value passed as the third parameter is used as the *this* value when evaluating the code. Returns *true* if the property value was set or *false* if it could not be set.
30063006
</td>
30073007
</tr>
30083008
<tr>
30093009
<td>
30103010
[[Delete]]
30113011
</td>
30123012
<td>
3013-
(_propertyKey_) <b>→</b> Boolean
3013+
(a property key) <b>→</b> a Boolean
30143014
</td>
30153015
<td>
3016-
Remove the own property whose key is _propertyKey_ from this object. Return *false* if the property was not deleted and is still present. Return *true* if the property was deleted or is not present.
3016+
Remove the own property from this object whose key is the passed property key. Return *false* if the property was not deleted and is still present. Return *true* if the property was deleted or is not present.
30173017
</td>
30183018
</tr>
30193019
<tr>
30203020
<td>
30213021
[[OwnPropertyKeys]]
30223022
</td>
30233023
<td>
3024-
( ) <b>→</b> List of property keys
3024+
( ) <b>→</b> a List of property keys
30253025
</td>
30263026
<td>
30273027
Return a List whose elements are all of the own property keys for the object.
@@ -3050,7 +3050,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
30503050
[[Call]]
30513051
</td>
30523052
<td>
3053-
(<em>any</em>, a List of <em>any</em>) <b>→</b> <em>any</em>
3053+
(an ECMAScript language value, a List of ECMAScript language values) <b>→</b> an ECMAScript language value
30543054
</td>
30553055
<td>
30563056
Executes code associated with this object. Invoked via a function call expression. The arguments to the internal method are a *this* value and a List whose elements are the arguments passed to the function by a call expression. Objects that implement this internal method are <em>callable</em>.
@@ -3061,7 +3061,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
30613061
[[Construct]]
30623062
</td>
30633063
<td>
3064-
(a List of <em>any</em>, Object) <b>→</b> Object
3064+
(a List of ECMAScript language values, an Object) <b>→</b> an Object
30653065
</td>
30663066
<td>
30673067
Creates an object. Invoked via the `new` operator or a `super` call. The first argument to the internal method is a List whose elements are the arguments of the constructor invocation or the `super` call. The second argument is the object to which the `new` operator was initially applied. Objects that implement this internal method are called <em>constructors</em>. A function object is not necessarily a constructor and such non-constructor function objects do not have a [[Construct]] internal method.

0 commit comments

Comments
 (0)