forked from ljharb/es-abstract
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
es2021.js
211 lines (209 loc) · 10.7 KB
/
es2021.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
'use strict';
/* eslint global-require: 0 */
// https://262.ecma-international.org/12.0/#sec-abstract-operations
var ES2021 = {
'Abstract Equality Comparison': require('./2021/AbstractEqualityComparison'),
'Abstract Relational Comparison': require('./2021/AbstractRelationalComparison'),
'Strict Equality Comparison': require('./2021/StrictEqualityComparison'),
abs: require('./2021/abs'),
AddEntriesFromIterable: require('./2021/AddEntriesFromIterable'),
AddToKeptObjects: require('./2021/AddToKeptObjects'),
AdvanceStringIndex: require('./2021/AdvanceStringIndex'),
ApplyStringOrNumericBinaryOperator: require('./2021/ApplyStringOrNumericBinaryOperator'),
ArrayCreate: require('./2021/ArrayCreate'),
ArraySetLength: require('./2021/ArraySetLength'),
ArraySpeciesCreate: require('./2021/ArraySpeciesCreate'),
AsyncFromSyncIteratorContinuation: require('./2021/AsyncFromSyncIteratorContinuation'),
AsyncIteratorClose: require('./2021/AsyncIteratorClose'),
BigInt: require('./2021/BigInt'),
BigIntBitwiseOp: require('./2021/BigIntBitwiseOp'),
BinaryAnd: require('./2021/BinaryAnd'),
BinaryOr: require('./2021/BinaryOr'),
BinaryXor: require('./2021/BinaryXor'),
ByteListBitwiseOp: require('./2021/ByteListBitwiseOp'),
ByteListEqual: require('./2021/ByteListEqual'),
Call: require('./2021/Call'),
Canonicalize: require('./2021/Canonicalize'),
CanonicalNumericIndexString: require('./2021/CanonicalNumericIndexString'),
CharacterRange: require('./2021/CharacterRange'),
clamp: require('./2021/clamp'),
ClearKeptObjects: require('./2021/ClearKeptObjects'),
CloneArrayBuffer: require('./2021/CloneArrayBuffer'),
CodePointAt: require('./2021/CodePointAt'),
CodePointsToString: require('./2021/CodePointsToString'),
CompletePropertyDescriptor: require('./2021/CompletePropertyDescriptor'),
CompletionRecord: require('./2021/CompletionRecord'),
CopyDataProperties: require('./2021/CopyDataProperties'),
CreateAsyncFromSyncIterator: require('./2021/CreateAsyncFromSyncIterator'),
CreateDataProperty: require('./2021/CreateDataProperty'),
CreateDataPropertyOrThrow: require('./2021/CreateDataPropertyOrThrow'),
CreateHTML: require('./2021/CreateHTML'),
CreateIterResultObject: require('./2021/CreateIterResultObject'),
CreateListFromArrayLike: require('./2021/CreateListFromArrayLike'),
CreateMethodProperty: require('./2021/CreateMethodProperty'),
CreateRegExpStringIterator: require('./2021/CreateRegExpStringIterator'),
DateFromTime: require('./2021/DateFromTime'),
DateString: require('./2021/DateString'),
Day: require('./2021/Day'),
DayFromYear: require('./2021/DayFromYear'),
DaysInYear: require('./2021/DaysInYear'),
DayWithinYear: require('./2021/DayWithinYear'),
DefinePropertyOrThrow: require('./2021/DefinePropertyOrThrow'),
DeletePropertyOrThrow: require('./2021/DeletePropertyOrThrow'),
DetachArrayBuffer: require('./2021/DetachArrayBuffer'),
EnumerableOwnPropertyNames: require('./2021/EnumerableOwnPropertyNames'),
FlattenIntoArray: require('./2021/FlattenIntoArray'),
floor: require('./2021/floor'),
FromPropertyDescriptor: require('./2021/FromPropertyDescriptor'),
Get: require('./2021/Get'),
GetGlobalObject: require('./2021/GetGlobalObject'),
GetIterator: require('./2021/GetIterator'),
GetMethod: require('./2021/GetMethod'),
GetOwnPropertyKeys: require('./2021/GetOwnPropertyKeys'),
GetPromiseResolve: require('./2021/GetPromiseResolve'),
GetPrototypeFromConstructor: require('./2021/GetPrototypeFromConstructor'),
GetSubstitution: require('./2021/GetSubstitution'),
GetV: require('./2021/GetV'),
GetValueFromBuffer: require('./2021/GetValueFromBuffer'),
HasOwnProperty: require('./2021/HasOwnProperty'),
HasProperty: require('./2021/HasProperty'),
HourFromTime: require('./2021/HourFromTime'),
InLeapYear: require('./2021/InLeapYear'),
InstanceofOperator: require('./2021/InstanceofOperator'),
IntegerIndexedElementGet: require('./2021/IntegerIndexedElementGet'),
IntegerIndexedElementSet: require('./2021/IntegerIndexedElementSet'),
InternalizeJSONProperty: require('./2021/InternalizeJSONProperty'),
Invoke: require('./2021/Invoke'),
IsAccessorDescriptor: require('./2021/IsAccessorDescriptor'),
IsArray: require('./2021/IsArray'),
IsBigIntElementType: require('./2021/IsBigIntElementType'),
IsCallable: require('./2021/IsCallable'),
IsCompatiblePropertyDescriptor: require('./2021/IsCompatiblePropertyDescriptor'),
IsConcatSpreadable: require('./2021/IsConcatSpreadable'),
IsConstructor: require('./2021/IsConstructor'),
IsDataDescriptor: require('./2021/IsDataDescriptor'),
IsDetachedBuffer: require('./2021/IsDetachedBuffer'),
IsExtensible: require('./2021/IsExtensible'),
IsGenericDescriptor: require('./2021/IsGenericDescriptor'),
IsIntegralNumber: require('./2021/IsIntegralNumber'),
IsNoTearConfiguration: require('./2021/IsNoTearConfiguration'),
IsPromise: require('./2021/IsPromise'),
IsPropertyKey: require('./2021/IsPropertyKey'),
IsRegExp: require('./2021/IsRegExp'),
IsSharedArrayBuffer: require('./2021/IsSharedArrayBuffer'),
IsStringPrefix: require('./2021/IsStringPrefix'),
IsUnclampedIntegerElementType: require('./2021/IsUnclampedIntegerElementType'),
IsUnsignedElementType: require('./2021/IsUnsignedElementType'),
IsValidIntegerIndex: require('./2021/IsValidIntegerIndex'),
IsWordChar: require('./2021/IsWordChar'),
IterableToList: require('./2021/IterableToList'),
IteratorClose: require('./2021/IteratorClose'),
IteratorComplete: require('./2021/IteratorComplete'),
IteratorNext: require('./2021/IteratorNext'),
IteratorStep: require('./2021/IteratorStep'),
IteratorValue: require('./2021/IteratorValue'),
LengthOfArrayLike: require('./2021/LengthOfArrayLike'),
MakeDate: require('./2021/MakeDate'),
MakeDay: require('./2021/MakeDay'),
MakeTime: require('./2021/MakeTime'),
max: require('./2021/max'),
min: require('./2021/min'),
MinFromTime: require('./2021/MinFromTime'),
modulo: require('./2021/modulo'),
MonthFromTime: require('./2021/MonthFromTime'),
msFromTime: require('./2021/msFromTime'),
NewPromiseCapability: require('./2021/NewPromiseCapability'),
NormalCompletion: require('./2021/NormalCompletion'),
Number: require('./2021/Number'),
NumberBitwiseOp: require('./2021/NumberBitwiseOp'),
NumberToBigInt: require('./2021/NumberToBigInt'),
NumericToRawBytes: require('./2021/NumericToRawBytes'),
ObjectDefineProperties: require('./2021/ObjectDefineProperties'),
OrdinaryCreateFromConstructor: require('./2021/OrdinaryCreateFromConstructor'),
OrdinaryDefineOwnProperty: require('./2021/OrdinaryDefineOwnProperty'),
OrdinaryGetOwnProperty: require('./2021/OrdinaryGetOwnProperty'),
OrdinaryGetPrototypeOf: require('./2021/OrdinaryGetPrototypeOf'),
OrdinaryHasInstance: require('./2021/OrdinaryHasInstance'),
OrdinaryHasProperty: require('./2021/OrdinaryHasProperty'),
OrdinaryObjectCreate: require('./2021/OrdinaryObjectCreate'),
OrdinarySetPrototypeOf: require('./2021/OrdinarySetPrototypeOf'),
OrdinaryToPrimitive: require('./2021/OrdinaryToPrimitive'),
PromiseResolve: require('./2021/PromiseResolve'),
QuoteJSONString: require('./2021/QuoteJSONString'),
RawBytesToNumeric: require('./2021/RawBytesToNumeric'),
RegExpCreate: require('./2021/RegExpCreate'),
RegExpExec: require('./2021/RegExpExec'),
RequireObjectCoercible: require('./2021/RequireObjectCoercible'),
SameValue: require('./2021/SameValue'),
SameValueNonNumeric: require('./2021/SameValueNonNumeric'),
SameValueZero: require('./2021/SameValueZero'),
SecFromTime: require('./2021/SecFromTime'),
Set: require('./2021/Set'),
SetFunctionLength: require('./2021/SetFunctionLength'),
SetFunctionName: require('./2021/SetFunctionName'),
SetIntegrityLevel: require('./2021/SetIntegrityLevel'),
SetTypedArrayFromArrayLike: require('./2021/SetTypedArrayFromArrayLike'),
SetTypedArrayFromTypedArray: require('./2021/SetTypedArrayFromTypedArray'),
SetValueInBuffer: require('./2021/SetValueInBuffer'),
SpeciesConstructor: require('./2021/SpeciesConstructor'),
SplitMatch: require('./2021/SplitMatch'),
StringCreate: require('./2021/StringCreate'),
StringGetOwnProperty: require('./2021/StringGetOwnProperty'),
StringIndexOf: require('./2021/StringIndexOf'),
StringPad: require('./2021/StringPad'),
StringToBigInt: require('./2021/StringToBigInt'),
StringToCodePoints: require('./2021/StringToCodePoints'),
substring: require('./2021/substring'),
SymbolDescriptiveString: require('./2021/SymbolDescriptiveString'),
TestIntegrityLevel: require('./2021/TestIntegrityLevel'),
thisBigIntValue: require('./2021/thisBigIntValue'),
thisBooleanValue: require('./2021/thisBooleanValue'),
thisNumberValue: require('./2021/thisNumberValue'),
thisStringValue: require('./2021/thisStringValue'),
thisSymbolValue: require('./2021/thisSymbolValue'),
thisTimeValue: require('./2021/thisTimeValue'),
ThrowCompletion: require('./2021/ThrowCompletion'),
TimeClip: require('./2021/TimeClip'),
TimeFromYear: require('./2021/TimeFromYear'),
TimeString: require('./2021/TimeString'),
TimeWithinDay: require('./2021/TimeWithinDay'),
TimeZoneString: require('./2021/TimeZoneString'),
ToBigInt: require('./2021/ToBigInt'),
ToBigInt64: require('./2021/ToBigInt64'),
ToBigUint64: require('./2021/ToBigUint64'),
ToBoolean: require('./2021/ToBoolean'),
ToDateString: require('./2021/ToDateString'),
ToIndex: require('./2021/ToIndex'),
ToInt16: require('./2021/ToInt16'),
ToInt32: require('./2021/ToInt32'),
ToInt8: require('./2021/ToInt8'),
ToIntegerOrInfinity: require('./2021/ToIntegerOrInfinity'),
ToLength: require('./2021/ToLength'),
ToNumber: require('./2021/ToNumber'),
ToNumeric: require('./2021/ToNumeric'),
ToObject: require('./2021/ToObject'),
ToPrimitive: require('./2021/ToPrimitive'),
ToPropertyDescriptor: require('./2021/ToPropertyDescriptor'),
ToPropertyKey: require('./2021/ToPropertyKey'),
ToString: require('./2021/ToString'),
ToUint16: require('./2021/ToUint16'),
ToUint32: require('./2021/ToUint32'),
ToUint8: require('./2021/ToUint8'),
ToUint8Clamp: require('./2021/ToUint8Clamp'),
TrimString: require('./2021/TrimString'),
Type: require('./2021/Type'),
TypedArrayCreate: require('./2021/TypedArrayCreate'),
TypedArraySpeciesCreate: require('./2021/TypedArraySpeciesCreate'),
UnicodeEscape: require('./2021/UnicodeEscape'),
UTF16EncodeCodePoint: require('./2021/UTF16EncodeCodePoint'),
UTF16SurrogatePairToCodePoint: require('./2021/UTF16SurrogatePairToCodePoint'),
ValidateAndApplyPropertyDescriptor: require('./2021/ValidateAndApplyPropertyDescriptor'),
ValidateAtomicAccess: require('./2021/ValidateAtomicAccess'),
ValidateIntegerTypedArray: require('./2021/ValidateIntegerTypedArray'),
ValidateTypedArray: require('./2021/ValidateTypedArray'),
WeakRefDeref: require('./2021/WeakRefDeref'),
WeekDay: require('./2021/WeekDay'),
WordCharacters: require('./2021/WordCharacters'),
YearFromTime: require('./2021/YearFromTime')
};
module.exports = ES2021;