TypeScript/tests/baselines/reference/indexAt(target=es2022).js

31 lines
669 B
TypeScript
Raw Permalink Normal View History

//// [indexAt.ts]
[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);
//// [indexAt.js]
[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);