Skip to content

Commit 21ba07e

Browse files
Editorial: use conventional notation for referring to types in Table 4
1 parent 7d0b199 commit 21ba07e

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
@@ -2889,7 +2889,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
28892889
[[GetPrototypeOf]]
28902890
</td>
28912891
<td>
2892-
( ) <b>→</b> Object | Null
2892+
( ) <b>→</b> an Object or *null*
28932893
</td>
28942894
<td>
28952895
Determine the object that provides inherited properties for this object. A *null* value indicates that there are no inherited properties.
@@ -2900,7 +2900,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
29002900
[[SetPrototypeOf]]
29012901
</td>
29022902
<td>
2903-
(Object | Null) <b>→</b> Boolean
2903+
(an Object or *null*) <b>→</b> a Boolean
29042904
</td>
29052905
<td>
29062906
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.
@@ -2911,7 +2911,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
29112911
[[IsExtensible]]
29122912
</td>
29132913
<td>
2914-
( ) <b>→</b> Boolean
2914+
( ) <b>→</b> a Boolean
29152915
</td>
29162916
<td>
29172917
Determine whether it is permitted to add additional properties to this object.
@@ -2922,7 +2922,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
29222922
[[PreventExtensions]]
29232923
</td>
29242924
<td>
2925-
( ) <b>→</b> Boolean
2925+
( ) <b>→</b> a Boolean
29262926
</td>
29272927
<td>
29282928
Control whether new properties may be added to this object. Returns *true* if the operation was successful or *false* if the operation was unsuccessful.
@@ -2933,73 +2933,73 @@ <h1>Object Internal Methods and Internal Slots</h1>
29332933
[[GetOwnProperty]]
29342934
</td>
29352935
<td>
2936-
(_propertyKey_) <b>→</b> Undefined | Property Descriptor
2936+
(a property key) <b>→</b> a Property Descriptor or *undefined*
29372937
</td>
29382938
<td>
2939-
Return a Property Descriptor for the own property of this object whose key is _propertyKey_, or *undefined* if no such property exists.
2939+
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.
29402940
</td>
29412941
</tr>
29422942
<tr>
29432943
<td>
29442944
[[DefineOwnProperty]]
29452945
</td>
29462946
<td>
2947-
(_propertyKey_, _PropertyDescriptor_) <b>→</b> Boolean
2947+
(a property key, a Property Descriptor) <b>→</b> a Boolean
29482948
</td>
29492949
<td>
2950-
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.
2950+
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.
29512951
</td>
29522952
</tr>
29532953
<tr>
29542954
<td>
29552955
[[HasProperty]]
29562956
</td>
29572957
<td>
2958-
(_propertyKey_) <b>→</b> Boolean
2958+
(a property key) <b>→</b> a Boolean
29592959
</td>
29602960
<td>
2961-
Return a Boolean value indicating whether this object already has either an own or inherited property whose key is _propertyKey_.
2961+
Return a Boolean value indicating whether this object already has either an own or inherited property whose key is the passed property key.
29622962
</td>
29632963
</tr>
29642964
<tr>
29652965
<td>
29662966
[[Get]]
29672967
</td>
29682968
<td>
2969-
(_propertyKey_, _Receiver_) <b>→</b> <em>any</em>
2969+
(a property key, an ECMAScript language value) <b>→</b> an ECMAScript language value
29702970
</td>
29712971
<td>
2972-
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.
2972+
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.
29732973
</td>
29742974
</tr>
29752975
<tr>
29762976
<td>
29772977
[[Set]]
29782978
</td>
29792979
<td>
2980-
(_propertyKey_, _value_, _Receiver_) <b>→</b> Boolean
2980+
(a property key, an ECMAScript Language value, an ECMAScript language value) <b>→</b> a Boolean
29812981
</td>
29822982
<td>
2983-
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.
2983+
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.
29842984
</td>
29852985
</tr>
29862986
<tr>
29872987
<td>
29882988
[[Delete]]
29892989
</td>
29902990
<td>
2991-
(_propertyKey_) <b>→</b> Boolean
2991+
(a property key) <b>→</b> a Boolean
29922992
</td>
29932993
<td>
2994-
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.
2994+
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.
29952995
</td>
29962996
</tr>
29972997
<tr>
29982998
<td>
29992999
[[OwnPropertyKeys]]
30003000
</td>
30013001
<td>
3002-
( ) <b>→</b> List of property keys
3002+
( ) <b>→</b> a List of property keys
30033003
</td>
30043004
<td>
30053005
Return a List whose elements are all of the own property keys for the object.
@@ -3028,7 +3028,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
30283028
[[Call]]
30293029
</td>
30303030
<td>
3031-
(<em>any</em>, a List of <em>any</em>) <b>→</b> <em>any</em>
3031+
(an ECMAScript language value, a List of ECMAScript language values) <b>→</b> an ECMAScript language value
30323032
</td>
30333033
<td>
30343034
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>.
@@ -3039,7 +3039,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
30393039
[[Construct]]
30403040
</td>
30413041
<td>
3042-
(a List of <em>any</em>, Object) <b>→</b> Object
3042+
(a List of ECMAScript language values, an Object) <b>→</b> an Object
30433043
</td>
30443044
<td>
30453045
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)