mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
8 lines
159 B
TypeScript
8 lines
159 B
TypeScript
// @target: es5
|
|
// @lib: es6,es2017.sharedmemory
|
|
|
|
var foge = new SharedArrayBuffer(1024);
|
|
foge.length; // should error
|
|
|
|
var length = SharedArrayBuffer.length;
|