mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +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; |