swc/crates/swc_ecma_parser/tests/tsc/useSharedArrayBuffer2.ts

6 lines
125 B
TypeScript
Raw Normal View History

// @target: es5
// @lib: es5
var foge = new SharedArrayBuffer(1024);
var bar = foge.slice(1, 10);
var len = foge.byteLength;