26 lines
397 B
JavaScript
26 lines
397 B
JavaScript
//// [symbolType3.ts]
|
|
var s = Symbol();
|
|
delete Symbol.iterator;
|
|
void Symbol.toPrimitive;
|
|
typeof Symbol.toStringTag;
|
|
++s;
|
|
--s;
|
|
+ Symbol();
|
|
- Symbol();
|
|
~ Symbol();
|
|
! Symbol();
|
|
|
|
+(Symbol() || 0);
|
|
|
|
//// [symbolType3.js]
|
|
var s = Symbol();
|
|
delete Symbol.iterator;
|
|
void Symbol.toPrimitive;
|
|
typeof Symbol.toStringTag;
|
|
++s;
|
|
--s;
|
|
+Symbol();
|
|
-Symbol();
|
|
~Symbol();
|
|
!Symbol();
|
|
+(Symbol() || 0);
|