mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
6 lines
145 B
TypeScript
6 lines
145 B
TypeScript
// @target: es5
|
|
// @lib: es5,es2017.sharedmemory
|
|
|
|
var foge = new SharedArrayBuffer(1024);
|
|
var bar = foge.slice(1, 10);
|
|
var len = foge.byteLength; |