TypeScript/tests/cases/compiler/bigint64ArraySubarray.ts
阿卡琳 a53e4a19ef Allow to omit the begin parameter of %TypedArray%.prototype.subarray (#32125)
* Allow to omit the begin parameter of %TypedArray%.prototype.subarray

* update baselines
2019-08-15 15:58:24 -07:00

9 lines
160 B
TypeScript

// @target: esnext
function bigInt64ArraySubarray() {
var arr = new BigInt64Array(10);
arr.subarray();
arr.subarray(0);
arr.subarray(0, 10);
}