Skip to content

Commit

Permalink
more return types
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Oct 11, 2021
1 parent 1448c35 commit c8750d3
Showing 1 changed file with 42 additions and 44 deletions.
86 changes: 42 additions & 44 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -2899,7 +2899,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
[[OwnPropertyKeys]]
</td>
<td>
( ) <b>&rarr;</b> List of propertyKey
( ) <b>&rarr;</b> List of property keys
</td>
<td>
Return a List whose elements are all of the own property keys for the object.
Expand Down Expand Up @@ -5781,7 +5781,7 @@ <h1>Testing and Comparison Operations</h1>
<h1>
RequireObjectCoercible (
_argument_: unknown,
)
): a Completion Record
</h1>
<dl class="header">
<dt>description</dt>
Expand Down Expand Up @@ -5871,7 +5871,7 @@ <h1>
<h1>
IsArray (
_argument_: unknown,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
</dl>
Expand All @@ -5890,7 +5890,7 @@ <h1>
<h1>
IsCallable (
_argument_: an ECMAScript language value,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -5907,7 +5907,7 @@ <h1>
<h1>
IsConstructor (
_argument_: an ECMAScript language value,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -5924,11 +5924,11 @@ <h1>
<h1>
IsExtensible (
_O_: an Object,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
<dd>It returns a completion record which, if its [[Type]] is ~normal~, has a [[Value]] which is a Boolean. It is used to determine whether additional properties can be added to _O_.</dd>
<dd>It is used to determine whether additional properties can be added to _O_.</dd>
</dl>
<emu-alg>
1. Return ? _O_.[[IsExtensible]]().
Expand All @@ -5939,7 +5939,7 @@ <h1>
<h1>
IsIntegralNumber (
_argument_: unknown,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -5957,7 +5957,7 @@ <h1>
<h1>
IsPropertyKey (
_argument_: an ECMAScript language value,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -5974,7 +5974,7 @@ <h1>
<h1>
IsRegExp (
_argument_: unknown,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
</dl>
Expand All @@ -5992,7 +5992,7 @@ <h1>
IsStringPrefix (
_p_: a String,
_q_: a String,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6011,11 +6011,11 @@ <h1>
SameValue (
_x_: an ECMAScript language value,
_y_: an ECMAScript language value,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
<dd>It returns a completion record whose [[Type]] is ~normal~ and whose [[Value]] is a Boolean indicating whether or not the two arguments are the same value.</dd>
<dd>It determines whether or not the two arguments are the same value.</dd>
</dl>
<emu-alg>
1. If Type(_x_) is different from Type(_y_), return *false*.
Expand All @@ -6035,11 +6035,11 @@ <h1>
SameValueZero (
_x_: an ECMAScript language value,
_y_: an ECMAScript language value,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
<dd>It returns a completion record whose [[Type]] is ~normal~ and whose [[Value]] is a Boolean indicating whether or not the two arguments are the same value (ignoring the difference between *+0*<sub>𝔽</sub> and *-0*<sub>𝔽</sub>).</dd>
<dd>It determines whether or not the two arguments are the same value (ignoring the difference between *+0*<sub>𝔽</sub> and *-0*<sub>𝔽</sub>).</dd>
</dl>
<emu-alg>
1. If Type(_x_) is different from Type(_y_), return *false*.
Expand All @@ -6059,11 +6059,9 @@ <h1>
SameValueNonNumeric (
_x_: an ECMAScript language value, but not a Number or a BigInt,
_y_: an ECMAScript language value, but not a Number or a BigInt,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
<dd>It returns a completion record whose [[Type]] is ~normal~ and whose [[Value]] is a Boolean.</dd>
</dl>
<emu-alg>
1. Assert: Type(_x_) is the same as Type(_y_).
Expand All @@ -6085,7 +6083,7 @@ <h1>
_x_: an ECMAScript language value,
_y_: an ECMAScript language value,
_LeftFirst_: a Boolean,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand Down Expand Up @@ -6143,11 +6141,11 @@ <h1>
IsLooselyEqual (
_x_: an ECMAScript language value,
_y_: an ECMAScript language value,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
<dd>It provides the semantics for the comparison _x_ == _y_, returning *true* or *false*.</dd>
<dd>It provides the semantics for the comparison _x_ == _y_.</dd>
</dl>
<emu-alg>
1. If Type(_x_) is the same as Type(_y_), then
Expand Down Expand Up @@ -6178,11 +6176,11 @@ <h1>
IsStrictlyEqual (
_x_: an ECMAScript language value,
_y_: an ECMAScript language value,
)
): a Boolean
</h1>
<dl class="header">
<dt>description</dt>
<dd>It provides the semantics for the comparison _x_ === _y_, returning *true* or *false*.</dd>
<dd>It provides the semantics for the comparison _x_ === _y_.</dd>
</dl>
<emu-alg>
1. If Type(_x_) is different from Type(_y_), return *false*.
Expand All @@ -6205,7 +6203,7 @@ <h1>Operations on Objects</h1>
<h1>
MakeBasicObject (
_internalSlotsList_: a List of internal slot names,
)
): an Object
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6231,7 +6229,7 @@ <h1>
Get (
_O_: an Object,
_P_: a property key,
)
): a Completion Record
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6247,7 +6245,7 @@ <h1>
GetV (
_V_: an ECMAScript language value,
_P_: a property key,
)
): a Completion Record
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6266,7 +6264,7 @@ <h1>
_P_: a property key,
_V_: an ECMAScript language value,
_Throw_: a Boolean,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6285,7 +6283,7 @@ <h1>
_O_: an Object,
_P_: a property key,
_V_: an ECMAScript language value,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6306,7 +6304,7 @@ <h1>
_O_: an Object,
_P_: a property key,
_V_: an ECMAScript language value,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6327,7 +6325,7 @@ <h1>
_O_: an Object,
_P_: a property key,
_V_: an ECMAScript language value,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6349,7 +6347,7 @@ <h1>
_O_: an Object,
_P_: a property key,
_desc_: a Property Descriptor,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6367,7 +6365,7 @@ <h1>
DeletePropertyOrThrow (
_O_: an Object,
_P_: a property key,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6385,7 +6383,7 @@ <h1>
GetMethod (
_V_: an ECMAScript language value,
_P_: a property key,
)
): a Completion Record normally containing a callable object or *undefined*
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6404,7 +6402,7 @@ <h1>
HasProperty (
_O_: an Object,
_P_: a property key,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6420,7 +6418,7 @@ <h1>
HasOwnProperty (
_O_: an Object,
_P_: a property key,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6439,7 +6437,7 @@ <h1>
_F_: an ECMAScript language value,
_V_: an ECMAScript language value,
optional _argumentsList_: a List of ECMAScript language values,
)
): a Completion Record
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6458,7 +6456,7 @@ <h1>
_F_: a constructor,
optional _argumentsList_: unknown,
optional _newTarget_: a constructor,
)
): a Completion Record
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6479,7 +6477,7 @@ <h1>
SetIntegrityLevel (
_O_: an Object,
_level_: ~sealed~ or ~frozen~,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand Down Expand Up @@ -6511,7 +6509,7 @@ <h1>
TestIntegrityLevel (
_O_: an Object,
_level_: ~sealed~ or ~frozen~,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6536,7 +6534,7 @@ <h1>
<h1>
CreateArrayFromList (
_elements_: a List of ECMAScript language values,
)
): an Array
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6556,7 +6554,7 @@ <h1>
<h1>
LengthOfArrayLike (
_obj_: an Object,
)
): a Completion Record normally containing an integer
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6579,7 +6577,7 @@ <h1>
CreateListFromArrayLike (
_obj_: unknown,
optional _elementTypes_: a List of names of ECMAScript Language Types,
)
): a Completion Record normally containing a List
</h1>
<dl class="header">
<dt>description</dt>
Expand Down Expand Up @@ -6607,7 +6605,7 @@ <h1>
_V_: an ECMAScript language value,
_P_: a property key,
optional _argumentsList_: a List of ECMAScript language values,
)
): a Completion Record
</h1>
<dl class="header">
<dt>description</dt>
Expand All @@ -6626,7 +6624,7 @@ <h1>
OrdinaryHasInstance (
_C_: an ECMAScript language value,
_O_: unknown,
)
): a Completion Record normally containing a Boolean
</h1>
<dl class="header">
<dt>description</dt>
Expand Down

0 comments on commit c8750d3

Please sign in to comment.