17 lines
190 B
JavaScript
17 lines
190 B
JavaScript
|
//// [symbolType10.ts]
|
||
|
var s = Symbol.for("bitwise");
|
||
|
s & s;
|
||
|
s | s;
|
||
|
s ^ s;
|
||
|
|
||
|
s & 0;
|
||
|
0 | s;
|
||
|
|
||
|
//// [symbolType10.js]
|
||
|
var s = Symbol.for("bitwise");
|
||
|
s & s;
|
||
|
s | s;
|
||
|
s ^ s;
|
||
|
s & 0;
|
||
|
0 | s;
|