* Add `target: "es2022"`
* Add Object.hasOwn
* formatToParts is es2018
* ref update
* optional parameter
* Revert "optional parameter"
This reverts commit e67d6e5f60
.
* undefined
* error cause
* Lint fix
Co-authored-by: Orta <git@orta.io>
16 lines
343 B
TypeScript
16 lines
343 B
TypeScript
// @target: es2021, es2022, esnext
|
|
|
|
[0].at(0);
|
|
"foo".at(0);
|
|
new Int8Array().at(0);
|
|
new Uint8Array().at(0);
|
|
new Uint8ClampedArray().at(0);
|
|
new Int16Array().at(0);
|
|
new Uint16Array().at(0);
|
|
new Int32Array().at(0);
|
|
new Uint32Array().at(0);
|
|
new Float32Array().at(0);
|
|
new Float64Array().at(0);
|
|
new BigInt64Array().at(0);
|
|
new BigUint64Array().at(0);
|