The abstract operation ToPrimitive takes argument input (an ECMAScript language value) and optional argument preferredType (string or number) and returns either a normal completion containing an ECMAScript language value or a throw completion. これはinput argumentを非Object型へ変換します。オブジェクトが複数のprimitive型へ変換可能である場合、optional hint preferredTypeを使用してその型を優先することがあります。 It performs the following steps when called:
The abstract operation OrdinaryToPrimitive takes arguments obj (an Object) and hint (string or number) and returns either a normal completion containing an ECMAScript language value or a throw completion. It performs the following steps when called:
The abstract operation ToBoolean takes argument arg (an ECMAScript language value) and returns a Boolean. これはargをBoolean型の値へ変換します。 It performs the following steps when called:
The abstract operation ToNumeric takes argument arg (an ECMAScript language value) and returns either a normal completion containing either a Number or a BigInt, or a throw completion. これはargをNumberまたはBigIntへ変換して返します。 It performs the following steps when called:
The abstract operation ToNumber takes argument arg (an ECMAScript language value) and returns either a normal completion containing a Number or a throw completion. これはargをNumber型の値へ変換します。 It performs the following steps when called:
The abstract operation RoundMVResult takes argument n (a mathematical value) and returns a Number. これはnをimplementation-definedな方法でNumberへ変換します。この抽象操作の目的では、digitは、それがzeroでない場合、またはその左にnon-zero digitがあり、かつその右にnon-zero digitがある場合にsignificantです。この抽象操作の目的では、mathematical valueの表現が“表すmathematical value”は、mathematical valueの“decimal representation”の逆です。 It performs the following steps when called:
The abstract operation ToIntegerOrInfinity takes argument arg (an ECMAScript language value) and returns either a normal completion containing either an integer, +∞, or -∞, or a throw completion. これはargを、そのNumber値の小数部を切り捨てたものを表すintegerへ、またはそのNumber値が無限である場合は+∞または-∞へ変換します。 It performs the following steps when called:
The abstract operation ToFixedSizeInteger takes arguments int (an integer, +∞, or -∞), signed (unsigned or signed), and bitWidth (a positive integer) and returns an integer. これはintを、signedがunsignedの場合は0から2bitWidth - 1までの包含区間内の2bitWidth個のintegersの1つへ、またはsignedがsignedの場合は-2bitWidth - 1から2bitWidth - 1 - 1までの包含区間内の2bitWidth個のintegersの1つへ写像します。 It performs the following steps when called:
The abstract operation ToInt32 takes argument arg (an ECMAScript language value) and returns either a normal completion containing an integral Number or a throw completion. これはargを、𝔽(-231)から𝔽(231 - 1)までの包含区間内の、-0𝔽を除く232個のintegral Number値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToUint32 takes argument arg (an ECMAScript language value) and returns either a normal completion containing an integral Number or a throw completion. これはargを、+0𝔽から𝔽(232 - 1)までの包含区間内の232個のintegral Number値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToInt16 takes argument arg (an ECMAScript language value) and returns either a normal completion containing an integral Number or a throw completion. これはargを、𝔽(-215)から𝔽(215 - 1)までの包含区間内の、-0𝔽を除く216個のintegral Number値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToUint16 takes argument arg (an ECMAScript language value) and returns either a normal completion containing an integral Number or a throw completion. これはargを、+0𝔽から𝔽(216 - 1)までの包含区間内の216個のintegral Number値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToInt8 takes argument arg (an ECMAScript language value) and returns either a normal completion containing an integral Number or a throw completion. これはargを、-128𝔽から127𝔽までの包含区間内の、-0𝔽を除く28個のintegral Number値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToUint8 takes argument arg (an ECMAScript language value) and returns either a normal completion containing an integral Number or a throw completion. これはargを、+0𝔽から255𝔽までの包含区間内の28個のintegral Number値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToUint8Clamp takes argument arg (an ECMAScript language value) and returns either a normal completion containing an integral Number or a throw completion. これはargをclampして丸め、+0𝔽から255𝔽までの包含区間内の28個のintegral Number値の1つへ変換します。 It performs the following steps when called:
他のほとんどのECMAScript整数変換操作とは異なり、ToUint8Clampは非整数値を切り捨てるのではなく丸めます。また、“round half to even”のtie-breakingを使用します。これはMath.roundの“round half up”のtie-breakingとは異なります。
7.1.14 ToBigInt ( arg )
The abstract operation ToBigInt takes argument arg (an ECMAScript language value) and returns either a normal completion containing a BigInt or a throw completion. これはargをBigInt値へ変換するか、Numberからの暗黙変換が必要な場合はthrowします。 It performs the following steps when called:
The abstract operation ToBigInt64 takes argument arg (an ECMAScript language value) and returns either a normal completion containing a BigInt or a throw completion. これはargを、ℤ(-263)からℤ(263 - 1)までの包含区間内の264個のBigInt値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToBigUint64 takes argument arg (an ECMAScript language value) and returns either a normal completion containing a BigInt or a throw completion. これはargを、0ℤからℤ(264 - 1)までの包含区間内の264個のBigInt値の1つへ変換します。 It performs the following steps when called:
The abstract operation ToString takes argument arg (an ECMAScript language value) and returns either a normal completion containing a String or a throw completion. これはargをString型の値へ変換します。 It performs the following steps when called:
The abstract operation ToObject takes argument arg (an ECMAScript language value) and returns either a normal completion containing an Object or a throw completion. これはargをObject型の値へ変換します。 It performs the following steps when called:
The abstract operation ToPropertyKey takes argument arg (an ECMAScript language value) and returns either a normal completion containing a property key or a throw completion. これはargをproperty keyとして使用できる値へ変換します。 It performs the following steps when called:
The abstract operation CanonicalNumericIndexString takes argument arg (a String) and returns a Number or undefined. argが"-0"であるか、あるNumber値nについてToString(n)と正確に一致する場合、それぞれのNumber値を返します。そうでなければ、undefinedを返します。 It performs the following steps when called:
The abstract operation ToIndex takes argument arg (an ECMAScript language value) and returns either a normal completion containing a non-negative integer or a throw completion. これはargをintegerへ変換し、そのintegerがnon-negativeでありinteger indexに対応する場合はそのintegerを返します。そうでなければ、例外をthrowします。 It performs the following steps when called:
The abstract operation RequireObjectCoercible takes argument arg (an ECMAScript language value) and returns either a normal completion containing unused or a throw completion. これはargがToObjectを使用してObjectへ変換できない値である場合、エラーをthrowします。 It performs the following steps when called:
argがundefinedまたはnullのいずれかなら、TypeError例外をthrowする。
unusedを返す。
7.2.2 IsArray ( arg )
The abstract operation IsArray takes argument arg (an ECMAScript language value) and returns either a normal completion containing a Boolean or a throw completion. It performs the following steps when called:
The abstract operation IsCallable takes argument arg (an ECMAScript language value) and returns a Boolean. これはargが[[Call]] internal methodを持つcallable functionであるかどうかを決定します。 It performs the following steps when called:
argがObjectでないなら、falseを返す。
argが[[Call]] internal methodを持つなら、trueを返す。
falseを返す。
7.2.4 IsConstructor ( arg )
The abstract operation IsConstructor takes argument arg (an ECMAScript language value) and returns a Boolean. これはargが[[Construct]] internal methodを持つfunction objectであるかどうかを決定します。 It performs the following steps when called:
argがObjectでないなら、falseを返す。
argが[[Construct]] internal methodを持つなら、trueを返す。
falseを返す。
7.2.5 IsExtensible ( obj )
The abstract operation IsExtensible takes argument obj (an Object) and returns either a normal completion containing a Boolean or a throw completion. これは追加のプロパティをobjへ追加できるかどうかを決定するために使用されます。 It performs the following steps when called:
? obj.[[IsExtensible]]()を返す。
7.2.6 IsRegExp ( arg )
The abstract operation IsRegExp takes argument arg (an ECMAScript language value) and returns either a normal completion containing a Boolean or a throw completion. It performs the following steps when called:
The abstract operation IsStringWellFormedUnicode takes argument string (a String) and returns a Boolean. これは6.1.4で記述されるように、stringをUTF-16でエンコードされたcode pointsの列として解釈し、それがwell formedなUTF-16列であるかどうかを決定します。 It performs the following steps when called:
The abstract operation SameType takes arguments x (an ECMAScript language value) and y (an ECMAScript language value) and returns a Boolean. これは2つのargumentsが同じ型であるかどうかを決定します。 It performs the following steps when called:
xがundefinedかつyがundefinedなら、trueを返す。
xがnullかつyがnullなら、trueを返す。
xがBooleanかつyがBooleanなら、trueを返す。
xがNumberかつyがNumberなら、trueを返す。
xがBigIntかつyがBigIntなら、trueを返す。
xがSymbolかつyがSymbolなら、trueを返す。
xがStringかつyがStringなら、trueを返す。
xがObjectかつyがObjectなら、trueを返す。
falseを返す。
7.2.9 SameValue ( x, y )
The abstract operation SameValue takes arguments x (an ECMAScript language value) and y (an ECMAScript language value) and returns a Boolean. これは2つのargumentsが同じ値であるかどうかを決定します。 It performs the following steps when called:
The abstract operation SameValueZero takes arguments x (an ECMAScript language value) and y (an ECMAScript language value) and returns a Boolean. これは2つのargumentsが同じ値であるかどうかを決定します(+0𝔽と-0𝔽の違いを無視します)。 It performs the following steps when called:
The abstract operation SameValueNonNumber takes arguments x (an ECMAScript language value, but not a Number) and y (an ECMAScript language value, but not a Number) and returns a Boolean. It performs the following steps when called:
The abstract operation IsLessThan takes arguments x (an ECMAScript language value), y (an ECMAScript language value), and leftFirst (a Boolean) and returns either a normal completion containing either a Boolean or undefined, or a throw completion. これは比較x < yの意味論を提供し、true、false、またはundefined(operandsを同じ数値型の比較可能な値へcoerceできなかったことを示す)を返します。leftFirstフラグは、xおよびyに対して潜在的に可視な副作用を持つ操作が実行される順序を制御するために使用されます。これは、ECMAScriptが式の左から右への評価を指定するため必要です。leftFirstがtrueなら、xparameterはyparameterに対応する式の左側に現れる式に対応します。leftFirstがfalseなら、その逆であり、操作はxより前にyに対して実行されなければなりません。 It performs the following steps when called:
The abstract operation IsLooselyEqual takes arguments x (an ECMAScript language value) and y (an ECMAScript language value) and returns either a normal completion containing a Boolean or a throw completion. これは==演算子の意味論を提供します。 It performs the following steps when called:
The abstract operation IsStrictlyEqual takes arguments x (an ECMAScript language value) and y (an ECMAScript language value) and returns a Boolean. これは===演算子の意味論を提供します。 It performs the following steps when called:
The abstract operation MakeBasicObject takes argument internalSlotsList (a List of internal slot names) and returns an Object. これは、ordinary objectsとexotic objectsの両方を含む、アルゴリズムによって作成されるすべてのECMAScriptオブジェクトの源です。すべてのオブジェクトの作成で使用される共通ステップを切り出し、オブジェクト作成を一元化します。 It performs the following steps when called:
The abstract operation Get takes arguments obj (an Object) and propertyKey (a property key) and returns either a normal completion containing an ECMAScript language value or a throw completion. これは、オブジェクトの特定のプロパティの値を取得するために使用されます。 It performs the following steps when called:
? obj.[[Get]](propertyKey, obj)を返す。
7.3.3 GetV ( value, propertyKey )
The abstract operation GetV takes arguments value (an ECMAScript language value) and propertyKey (a property key) and returns either a normal completion containing an ECMAScript language value or a throw completion. これは、ECMAScript言語値の特定のプロパティの値を取得するために使用されます。値がオブジェクトでない場合、プロパティ検索はその値の型に適したwrapper objectを使用して実行されます。 It performs the following steps when called:
The abstract operation Set takes arguments obj (an Object), propertyKey (a property key), value (an ECMAScript language value), and throw (a Boolean) and returns either a normal completion containing unused or a throw completion. これは、オブジェクトの特定のプロパティの値を設定するために使用されます。valueはそのプロパティの新しい値です。 It performs the following steps when called:
7.3.5 CreateDataProperty ( obj, propertyKey, value )
The abstract operation CreateDataProperty takes arguments obj (an Object), propertyKey (a property key), and value (an ECMAScript language value) and returns either a normal completion containing a Boolean or a throw completion. これは、オブジェクトの新しいown propertyを作成するために使用されます。 It performs the following steps when called:
7.3.6 CreateDataPropertyOrThrow ( obj, propertyKey, value )
The abstract operation CreateDataPropertyOrThrow takes arguments obj (an Object), propertyKey (a property key), and value (an ECMAScript language value) and returns either a normal completion containing unused or a throw completion. これは、オブジェクトの新しいown propertyを作成するために使用されます。要求されたプロパティ更新を実行できない場合、TypeError例外をthrowします。 It performs the following steps when called:
7.3.7 CreateNonEnumerableDataPropertyOrThrow ( obj, propertyKey, value )
The abstract operation CreateNonEnumerableDataPropertyOrThrow takes arguments obj (an Object), propertyKey (a property key), and value (an ECMAScript language value) and returns unused. これは、ordinary objectの新しいnon-enumerable own propertyを作成するために使用されます。 It performs the following steps when called:
The abstract operation DefinePropertyOrThrow takes arguments obj (an Object), propertyKey (a property key), and propertyDesc (a Property Descriptor) and returns either a normal completion containing unused or a throw completion. これは、要求されたプロパティ更新を実行できない場合にTypeError例外をthrowする方法で、オブジェクトの[[DefineOwnProperty]] internal methodを呼び出すために使用されます。 It performs the following steps when called:
The abstract operation DeletePropertyOrThrow takes arguments obj (an Object) and propertyKey (a property key) and returns either a normal completion containing unused or a throw completion. これは、オブジェクトの特定のown propertyを削除するために使用されます。そのプロパティがconfigurableでない場合、例外をthrowします。 It performs the following steps when called:
successを ? obj.[[Delete]](propertyKey) とする。
successがfalseなら、TypeError例外をthrowする。
unusedを返す。
7.3.10 GetMethod ( value, propertyKey )
The abstract operation GetMethod takes arguments value (an ECMAScript language value) and propertyKey (a property key) and returns either a normal completion containing either a function object or undefined, or a throw completion. これは、ECMAScript言語値の特定のプロパティの値を、そのプロパティの値がfunctionであることが期待される場合に取得するために使用されます。 It performs the following steps when called:
The abstract operation HasProperty takes arguments obj (an Object) and propertyKey (a property key) and returns either a normal completion containing a Boolean or a throw completion. これは、指定されたproperty keyを持つプロパティをオブジェクトが持っているかどうかを決定するために使用されます。そのプロパティはownまたはinheritedのいずれでもよいです。 It performs the following steps when called:
? obj.[[HasProperty]](propertyKey)を返す。
7.3.12 HasOwnProperty ( obj, propertyKey )
The abstract operation HasOwnProperty takes arguments obj (an Object) and propertyKey (a property key) and returns either a normal completion containing a Boolean or a throw completion. これは、指定されたproperty keyを持つown propertyをオブジェクトが持っているかどうかを決定するために使用されます。 It performs the following steps when called:
The abstract operation Call takes arguments func (an ECMAScript language value) and thisValue (an ECMAScript language value) and optional argument argList (a List of ECMAScript language values) and returns either a normal completion containing an ECMAScript language value or a throw completion. これは、function objectの[[Call]] internal methodを呼び出すために使用されます。funcはfunction object、thisValueは[[Call]]のthis値であるECMAScript言語値、argListはinternal methodの対応するargumentに渡される値です。argListが存在しない場合、新しい空のListがその値として使用されます。 It performs the following steps when called:
The abstract operation Construct takes argument ctor (a constructor) and optional arguments argList (a List of ECMAScript language values) and newTarget (a constructor) and returns either a normal completion containing an Object or a throw completion. これは、function objectの[[Construct]] internal methodを呼び出すために使用されます。argListおよびnewTargetは、internal methodの対応するargumentsとして渡される値です。argListが存在しない場合、新しい空のListがその値として使用されます。newTargetが存在しない場合、ctorがその値として使用されます。 It performs the following steps when called:
The abstract operation SetIntegrityLevel takes arguments obj (an Object) and level (sealed or frozen) and returns either a normal completion containing a Boolean or a throw completion. これは、オブジェクトのown propertiesの集合を固定するために使用されます。 It performs the following steps when called:
The abstract operation TestIntegrityLevel takes arguments obj (an Object) and level (sealed or frozen) and returns either a normal completion containing a Boolean or a throw completion. これは、オブジェクトのown propertiesの集合が固定されているかどうかを決定するために使用されます。 It performs the following steps when called:
The abstract operation CreateArrayFromList takes argument elements (a List of ECMAScript language values) and returns an Array. これは、elementsによって提供される要素を持つArrayを作成するために使用されます。 It performs the following steps when called:
The abstract operation LengthOfArrayLike takes argument obj (an Object) and returns either a normal completion containing a non-negative integer or a throw completion. これは、array-like objectの"length"プロパティの値を返します。 It performs the following steps when called:
The abstract operation CreateListFromArrayLike takes argument obj (an ECMAScript language value) and optional argument validElementTypes (all or property-key) and returns either a normal completion containing a List of ECMAScript language values or a throw completion. これは、objのindexed propertiesによって提供される要素を持つList値を作成するために使用されます。validElementTypesは、要素として許可される値の型を示します。 It performs the following steps when called:
The abstract operation Invoke takes arguments value (an ECMAScript language value) and propertyKey (a property key) and optional argument argList (a List of ECMAScript language values) and returns either a normal completion containing an ECMAScript language value or a throw completion. これは、ECMAScript言語値のmethod propertyを呼び出すために使用されます。valueは、そのプロパティの検索点としても、その呼び出しのthis値としても機能します。argListは、そのmethodに渡されるarguments valuesのリストです。argListが存在しない場合、新しい空のListがその値として使用されます。 It performs the following steps when called:
The abstract operation OrdinaryHasInstance takes arguments ctor (an ECMAScript language value) and instance (an ECMAScript language value) and returns either a normal completion containing a Boolean or a throw completion. これは、instanceがctorによって提供されるinstance object inheritance pathから継承しているかどうかを決定するデフォルトアルゴリズムを実装します。 It performs the following steps when called:
The abstract operation EnumerableOwnProperties takes arguments obj (an Object) and kind (key, value, or key+value) and returns either a normal completion containing a List of ECMAScript language values or a throw completion. It performs the following steps when called:
The abstract operation CopyDataProperties takes arguments target (an Object), source (an ECMAScript language value), and excludedItems (a List of property keys) and returns either a normal completion containing unused or a throw completion. It performs the following steps when called:
The abstract operation PrivateElementFind takes arguments obj (an Object) and privateName (a Private Name) and returns a PrivateElement or empty. It performs the following steps when called:
7.3.27 PrivateFieldAdd ( obj, privateName, value )
The abstract operation PrivateFieldAdd takes arguments obj (an Object), privateName (a Private Name), and value (an ECMAScript language value) and returns either a normal completion containing unused or a throw completion. It performs the following steps when called:
PrivateElement { [[Key]]: privateName, [[Kind]]: field, [[Value]]: value }をobj.[[PrivateElements]]へappendする。
unusedを返す。
7.3.28 PrivateMethodOrAccessorAdd ( obj, method )
The abstract operation PrivateMethodOrAccessorAdd takes arguments obj (an Object) and method (a PrivateElement) and returns either a normal completion containing unused or a throw completion. It performs the following steps when called:
The abstract operation PrivateGet takes arguments obj (an Object) and privateName (a Private Name) and returns either a normal completion containing an ECMAScript language value or a throw completion. It performs the following steps when called:
The abstract operation PrivateSet takes arguments obj (an Object), privateName (a Private Name), and value (an ECMAScript language value) and returns either a normal completion containing unused or a throw completion. It performs the following steps when called:
The abstract operation DefineField takes arguments receiver (an Object) and fieldRecord (a ClassFieldDefinition Record) and returns either a normal completion containing unused or a throw completion. It performs the following steps when called:
The abstract operation InitializeInstanceElements takes arguments obj (an Object) and ctor (an ECMAScript function object or a built-in function object) and returns either a normal completion containing unused or a throw completion. It performs the following steps when called:
7.3.34 AddValueToKeyedGroup ( groups, key, value )
The abstract operation AddValueToKeyedGroup takes arguments groups (a List of Records with fields [[Key]] (an ECMAScript language value) and [[Elements]] (a List of ECMAScript language values)), key (an ECMAScript language value), and value (an ECMAScript language value) and returns unused. It performs the following steps when called:
groupをRecord { [[Key]]: key, [[Elements]]: « value » }とする。
groupをgroupsへappendする。
unusedを返す。
7.3.35 GroupBy ( items, callback, keyCoercion )
The abstract operation GroupBy takes arguments items (an ECMAScript language value), callback (an ECMAScript language value), and keyCoercion (property or collection) and returns either a normal completion containing a List of Records with fields [[Key]] (an ECMAScript language value) and [[Elements]] (a List of ECMAScript language values), or a throw completion. It performs the following steps when called:
The abstract operation GetOptionsObject takes argument options (an ECMAScript language value) and returns either a normal completion containing an Object or a throw completion. It performs the following steps when called:
7.3.37 SetterThatIgnoresPrototypeProperties ( thisValue, home, propertyKey, value )
The abstract operation SetterThatIgnoresPrototypeProperties takes arguments thisValue (an ECMAScript language value), home (an Object), propertyKey (a property key), and value (an ECMAScript language value) and returns either a normal completion containing unused or a throw completion. It performs the following steps when called:
The abstract operation GetIteratorDirect takes argument obj (an Object) and returns either a normal completion containing an Iterator Record or a throw completion. It performs the following steps when called:
iteratorRecordをIterator Record { [[Iterator]]: obj, [[NextMethod]]: nextMethod, [[Done]]: false }とする。
iteratorRecordを返す。
7.4.3 GetIteratorFromMethod ( obj, method )
The abstract operation GetIteratorFromMethod takes arguments obj (an ECMAScript language value) and method (a function object) and returns either a normal completion containing an Iterator Record or a throw completion. It performs the following steps when called:
The abstract operation GetIterator takes arguments obj (an ECMAScript language value) and kind (sync or async) and returns either a normal completion containing an Iterator Record or a throw completion. It performs the following steps when called:
The abstract operation GetIteratorFlattenable takes arguments obj (an ECMAScript language value) and primitiveHandling (iterate-string-primitives or reject-primitives) and returns either a normal completion containing an Iterator Record or a throw completion. It performs the following steps when called:
The abstract operation IteratorNext takes argument iteratorRecord (an Iterator Record) and optional argument value (an ECMAScript language value) and returns either a normal completion containing an Object or a throw completion. It performs the following steps when called:
The abstract operation IteratorComplete takes argument iteratorResult (an Object) and returns either a normal completion containing a Boolean or a throw completion. It performs the following steps when called:
The abstract operation IteratorValue takes argument iteratorResult (an Object) and returns either a normal completion containing an ECMAScript language value or a throw completion. It performs the following steps when called:
The abstract operation IteratorStep takes argument iteratorRecord (an Iterator Record) and returns either a normal completion containing either an Object or done, or a throw completion. これは、iteratorRecord.[[NextMethod]]を呼び出すことでiteratorRecord.[[Iterator]]から次の値を要求し、iteratorが終端に到達したことを示すdone、または次の値が利用可能な場合はIteratorResultオブジェクトを返します。 It performs the following steps when called:
The abstract operation IteratorStepValue takes argument iteratorRecord (an Iterator Record) and returns either a normal completion containing either an ECMAScript language value or done, or a throw completion. これは、iteratorRecord.[[NextMethod]]を呼び出すことでiteratorRecord.[[Iterator]]から次の値を要求し、iteratorが終端に到達したことを示すdone、または次の値が利用可能な場合はIteratorResultオブジェクトからの値を返します。 It performs the following steps when called:
The abstract operation IteratorClose takes arguments iteratorRecord (an Iterator Record) and completion (a Completion Record) and returns a Completion Record. これは、iteratorが完了状態に到達したときに通常実行する任意の動作を実行すべきであることを、そのiteratorへ通知するために使用されます。 It performs the following steps when called:
The abstract operation CreateIteratorResultObject takes arguments value (an ECMAScript language value) and done (a Boolean) and returns an Object that conforms to the IteratorResult interface. これはIteratorResult interfaceに適合するオブジェクトを作成します。 It performs the following steps when called:
The abstract operation AddDisposableResource takes arguments disposableResourceStack (DisposableResource レコードの List), value (ECMAScript 言語値), and kind (sync-dispose または async-dispose) and optional argument method (関数オブジェクト) and returns unused を含む normal completion または throw completion. It performs the following steps when called:
The abstract operation CreateDisposableResource takes arguments value (ECMAScript 言語値) and kind (sync-dispose または async-dispose) and optional argument method (関数オブジェクト) and returns DisposableResource レコードを含む normal completion または throw completion. It performs the following steps when called:
Return the DisposableResource Record { [[ResourceValue]]: value, [[Kind]]: kind, [[DisposeMethod]]: method }.
7.5.4 GetDisposeMethod ( value, kind )
The abstract operation GetDisposeMethod takes arguments value (ECMAScript 言語値) and kind (sync-dispose または async-dispose) and returns 関数オブジェクトまたは undefined のいずれかを含む normal completion、または throw completion. It performs the following steps when called: