mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +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;
|