TypeScript/tests/cases/conformance/es6/Symbols/symbolType11.ts
2015-02-06 21:31:51 -08:00

8 lines
104 B
TypeScript

//@target: ES6
var s = Symbol.for("logical");
s && s;
s && [];
0 && s;
s || s;
s || 1;
({}) || s;