25 lines
702 B
Plaintext
25 lines
702 B
Plaintext
=== tests/cases/conformance/es2017/useSharedArrayBuffer5.ts ===
|
|
|
|
var foge = new SharedArrayBuffer(1024);
|
|
>foge : SharedArrayBuffer
|
|
>new SharedArrayBuffer(1024) : SharedArrayBuffer
|
|
>SharedArrayBuffer : SharedArrayBufferConstructor
|
|
>1024 : 1024
|
|
|
|
var species = foge[Symbol.species];
|
|
>species : SharedArrayBuffer
|
|
>foge[Symbol.species] : SharedArrayBuffer
|
|
>foge : SharedArrayBuffer
|
|
>Symbol.species : symbol
|
|
>Symbol : SymbolConstructor
|
|
>species : symbol
|
|
|
|
var stringTag = foge[Symbol.toStringTag];
|
|
>stringTag : "SharedArrayBuffer"
|
|
>foge[Symbol.toStringTag] : "SharedArrayBuffer"
|
|
>foge : SharedArrayBuffer
|
|
>Symbol.toStringTag : symbol
|
|
>Symbol : SymbolConstructor
|
|
>toStringTag : symbol
|
|
|