?um/p1-90`Object
extends clauseのvalueとして使用できます。このfunctionは呼び出されたとき、次のstepsを実行します:
Object
このfunctionは、1つ以上のsource objectsからすべてのenumerable own propertiesのvaluesをtarget objectへcopyします。
これは呼び出されたとき、次のstepsを実行します:
このfunctionの
このfunctionは、指定されたprototypeを持つ新しいobjectを作成します。
これは呼び出されたとき、次のstepsを実行します:
このfunctionは、objectのown propertiesを追加し、かつ/または既存のown propertiesのattributesをupdateします。
これは呼び出されたとき、次のstepsを実行します:
The abstract operation ObjectDefineProperties takes arguments obj (an Object) and properties (an ECMAScript language value) and returns either a
このfunctionは、objectのown propertyを追加し、かつ/または既存のown propertyのattributesをupdateします。
これは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
The abstract operation GetOwnPropertyKeys takes arguments value (an ECMAScript language value) and type (
このfunctionは呼び出されたとき、次のstepsを実行します:
callbackは2つのargumentsをacceptするfunctionであるべきです。groupByはitems内の各elementについてascending orderでcallbackを1回呼び出し、新しいobjectをconstructします。callbackによって返される各valueは
callbackは2つのarguments、すなわちelementのvalueとelementのindexを伴って呼び出されます。
groupByのreturn valueは
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
Object.prototypeのinitial valueは
このpropertyはattributes { [[Writable]]:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
このfunctionは呼び出されたとき、次のstepsを実行します:
Object prototype objectは:
Object.prototype.constructorのinitial valueは
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodはprototype chain内のobjectsを考慮しません。
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodのoptional parametersは使用されませんが、ECMA-402 toLocaleString methodsによって使用されるparameter patternに対応することを意図しています。ECMA-402 supportを含まないimplementationsは、これらのparameter positionsを他のpurposesのために使用してはなりません。
このmethodは、locale-sensitiveなtoString behaviourを持たないobjectsに対してgenericなtoLocaleString implementationを提供します。Array、Number、Date、およびtoLocaleString methodsを提供します。
ECMA-402は意図的に、このdefault implementationのalternativeを提供していません。
このmethodは呼び出されたとき、次のstepsを実行します:
Historically、このmethodは、この仕様のprevious editionsでさまざまなbuilt-in objectsのnominal type tagとして使用されていた[[Class]] internal slotのString valueにaccessするために時々使用されていました。上記のtoStringのdefinitionは、toStringをそれら特定の種類のbuilt-in objectsに対するtestとして使用するlegacy codeとのcompatibilityをpreserveします。これは他の種類のbuilt-inまたはprogram defined objectsに対するreliable type testing mechanismを提供しません。加えて、programsは、そのようなlegacy type testsのreliabilityを無効にする方法で
このmethodは呼び出されたとき、次のstepsを実行します:
Object.prototype.__proto__はattributes { [[Enumerable]]:
[[Get]] attributeのvalueは、argumentsを要求しないbuilt-in functionです。これは呼び出されたとき、次のstepsを実行します:
[[Set]] attributeのvalueは、argument protoを取るbuilt-in functionです。これは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
Object instancesは、
Function
Function(…)は、同じargumentsを伴うobject creation expression new Function(…)と同等です。extends clauseのvalueとして使用できます。指定されたFunction behaviourをinheritしようとするsubclass super callを含まなければなりません。最後のargument(ある場合)はfunctionのbody(executable code)を指定します;それより前のargumentsはformal parametersを指定します。
このfunctionは呼び出されたとき、次のstepsを実行します:
指定される各formal parameterごとに1つのargumentを持つことは許されますが、必要ではありません。例えば、次の3つのexpressionsはすべて同じresultをproduceします:
new Function("a", "b", "c", "return a+b+c")
new Function("a, b, c", "return a+b+c")
new Function("a,b", "c", "return a+b+c")
The abstract operation CreateDynamicFunction takes arguments ctor (a newがinitiallyに適用された
new Function("/*", "*/ ) {")はfunctionへevaluateされない。CreateDynamicFunctionは、そのkindが
Function
Function.prototypeのvalueは
このpropertyはattributes { [[Writable]]:
Function prototype objectは:
new operatorを伴うFunction prototype objectは、ECMAScript 2015 specificationより前に作成されたECMAScript codeとのcompatibilityを保証するため、
このmethodは呼び出されたとき、次のstepsを実行します:
thisArg valueは、modificationなしで
funcがarrow functionまたは
このmethodは呼び出されたとき、次のstepsを実行します:
Function.prototype.bindを使用して作成された
targetがarrow functionまたは
このmethodは呼び出されたとき、次のstepsを実行します:
thisArg valueは、modificationなしで
funcがarrow functionまたは
Function.prototype.constructorのinitial valueは
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
このpropertyはattributes { [[Writable]]:
これは、ほとんどのfunctionsがinheritする%Symbol.hasInstance%のdefault implementationです。%Symbol.hasInstance%は、valueがspecific instanceof operatorによって呼び出されます。次のようなexpressionは、
v instanceof F
次のようにevaluatesされます
F[%Symbol.hasInstance%](v)
%Symbol.hasInstance% methodをexposeすることによって、instanceofによってどのobjectsがそのinstancesとしてrecognizedされるかをcontrolできます。
このpropertyは、bound functionのtarget functionをgloballyにexposeするために使用され得るtamperingを防ぐため、non-writableかつnon-configurableです。
このmethodの
すべてのFunction instanceはECMAScript Function.prototype.bind method(
Function instancesは次のpropertiesを持ちます:
この仕様によってcontextual nameが関連付けられていないAnonymous
このpropertyはattributes { [[Writable]]:
Function.prototype.bindを使用して作成された
The
HostHasSourceTextAvailableのimplementationは、次のrequirementsにconformしなければなりません:
HostHasSourceTextAvailableのdefault implementationは
Boolean
extends clauseのvalueとして使用できます。指定されたBoolean behaviourをinheritしようとするsubclass super callを含まなければなりません。このfunctionは呼び出されたとき、次のstepsを実行します:
Boolean
Boolean.prototypeのinitial valueは
このpropertyはattributes { [[Writable]]:
Boolean prototype objectは:
Boolean.prototype.constructorのinitial valueは
このmethodは呼び出されたとき、次のstepsを実行します:
このmethodは呼び出されたとき、次のstepsを実行します:
The abstract operation ThisBooleanValue takes argument arg (an ECMAScript language value) and returns either a
Boolean instancesは、
Symbol
new operatorとともに使用されることを意図していません。extends clauseのvalueとして使用できますが、それへのsuper callはexceptionを引き起こします。このfunctionは呼び出されたとき、次のstepsを実行します:
Symbol
Symbol.asyncIteratorのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
このfunctionは呼び出されたとき、次のstepsを実行します:
Symbol.hasInstanceのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.isConcatSpreadableのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.iteratorのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
このfunctionは呼び出されたとき、次のstepsを実行します:
Symbol.matchのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.matchAllのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.prototypeのinitial valueは
このpropertyはattributes { [[Writable]]:
Symbol.replaceのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.searchのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.speciesのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.splitのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.toPrimitiveのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.toStringTagのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol.unscopablesのinitial valueはwell-known symbol
このpropertyはattributes { [[Writable]]:
Symbol prototype objectは:
Symbol.prototype.constructorのinitial valueは
Symbol.prototype.descriptionは、set accessor functionが
このmethodは呼び出されたとき、次のstepsを実行します:
The abstract operation SymbolDescriptiveString takes argument symbol (a Symbol) and returns a String. It performs the following steps when called:
このmethodは呼び出されたとき、次のstepsを実行します:
The abstract operation ThisSymbolValue takes argument arg (an ECMAScript language value) and returns either a
このmethodは、Symbol objectをprimitive valueへconvertするためにECMAScript language operatorsによって呼び出されます。
これは呼び出されたとき、次のstepsを実行します:
argumentはignoredされます。
このpropertyはattributes { [[Writable]]:
このmethodの
このpropertyはattributes { [[Writable]]:
Symbol instancesは、
GlobalSymbolRegistry Record は、
GlobalSymbolRegistry Records は、
| フィールド名 | 値 | 用途 |
|---|---|---|
| [[Key]] | String | Symbol をグローバルに識別するために使用される文字列キー。 |
| [[Symbol]] | Symbol | 任意の |
The abstract operation KeyForSymbol takes argument symbol (a Symbol) and returns a String or
runtime errorsが発生したとき、Error objectsのinstancesはexceptionsとしてthrownされます。Error objectsはuser-defined exception classesのbase objectsとしてもserveする場合があります。
ECMAScript 実装が実行時エラーを検出した場合、
Error
Error(…)は、同じargumentsを伴うobject creation expression new Error(…)と同等です。extends clauseのvalueとして使用できます。指定されたError behaviourをinheritしようとするsubclass super callを含まなければなりません。このfunctionは呼び出されたとき、次のstepsを実行します:
Error
このfunctionは呼び出されたとき、次のstepsを実行します:
Error.prototypeのinitial valueは
このpropertyはattributes { [[Writable]]:
Error prototype objectは:
Error.prototype.constructorのinitial valueは
Error.prototype.messageのinitial valueはempty Stringです。
Error.prototype.nameのinitial valueは
このmethodは呼び出されたとき、次のstepsを実行します:
Error インスタンスは、Error プロトタイプオブジェクトからプロパティを継承し、値が Object.prototype.toString および Error.isError において、Error、AggregateError、SuppressedError、および NativeError インスタンスを Error オブジェクトとして識別することである。
実行時エラーが検出された場合、以下の NativeError オブジェクトのいずれか、または AggregateError オブジェクトもしくは SuppressedError オブジェクトの新しいインスタンスが投げられる。すべての NativeError オブジェクトは、
EvalError
このexceptionは現在この仕様内では使用されていません。このobjectは、この仕様のprevious editionsとのcompatibilityのために残されています。
RangeError
allowable valuesのsetまたはrange内にないvalueを示します。
ReferenceError
invalid referenceがdetectedされたことを示します。
SyntaxError
parsing errorが発生したことを示します。
TypeError
TypeErrorは、他のNativeError objectsのいずれもfailure causeのappropriate indicationでない場合に、unsuccessful operationを示すために使用されます。
URIError
global URI handling functionsの1つが、そのdefinitionとincompatibleな方法で使用されたことを示します。
これらの各objectは、
各error objectについて、definition内のNativeErrorへのreferencesは、
各NativeError
NativeError(…)は、同じargumentsを伴うobject creation expression new NativeError(…)と同等です。extends clauseのvalueとして使用できます。指定されたNativeError behaviourをinheritしようとするsubclass super callを含まなければなりません。各NativeError functionは呼び出されたとき、次のstepsを実行します:
step
各NativeError
NativeError.prototypeのinitial valueはNativeError prototype object(
このpropertyはattributes { [[Writable]]:
各NativeError prototype objectは:
与えられたNativeError
与えられたNativeError
与えられたNativeError
NativeError インスタンスは、自身の NativeError プロトタイプオブジェクトからプロパティを継承し、値が Object.prototype.toString(Error.isError(
AggregateError
AggregateError(…)は、同じargumentsを伴うobject creation expression new AggregateError(…)と同等です。extends clauseのvalueとして使用できます。指定されたAggregateError behaviourをinheritしようとするsubclass super callを含まなければなりません。このfunctionは呼び出されたとき、次のstepsを実行します:
AggregateError
AggregateError.prototypeのinitial valueは
このpropertyはattributes { [[Writable]]:
AggregateError prototype objectは:
AggregateError.prototype.constructorのinitial valueは
AggregateError.prototype.messageのinitial valueはempty Stringです。
AggregateError.prototype.nameのinitial valueは
AggregateError インスタンスは、自身の AggregateError プロトタイプオブジェクトからプロパティを継承し、値が Object.prototype.toString(Error.isError(
SuppressedError コンストラクタは次のとおりである:
SuppressedError(…) は、同じ引数を持つオブジェクト作成式 new SuppressedError(…) と等価である。extends 節の値として使用できる。指定された SuppressedError の振る舞いを継承しようとするサブクラスコンストラクタは、[[ErrorData]] 内部スロットを持つサブクラスインスタンスを作成して初期化するために、SuppressedError コンストラクタへの super 呼び出しを含めなければならない。この関数は、呼び出されたときに次のステップを実行する:
SuppressedError コンストラクタは次のとおりである:
SuppressedError.prototype の初期値は
このプロパティは属性 { [[Writable]]:
SuppressedError プロトタイプオブジェクトは次のとおりである:
SuppressedError.prototype.constructor の初期値は
SuppressedError.prototype.message の初期値は空の String である。
SuppressedError.prototype.name の初期値は
SuppressedError インスタンスは、自身の Object.prototype.toString および Error.isError において、Error、AggregateError、SuppressedError、および NativeError インスタンスを Error オブジェクトとして識別することである。
The abstract operation InstallErrorCause takes arguments obj (an Object) and options (an ECMAScript language value) and returns either a