TypeScript/tests/cases/compiler/prefixUnaryOperatorsOnExportedVariables.ts
2015-12-18 11:21:31 -08:00

32 lines
242 B
TypeScript

// @target: ES5
// @module: system
export var x = false;
export var y = 1;
if (!x) {
}
if (+x) {
}
if (-x) {
}
if (~x) {
}
if (void x) {
}
if (typeof x) {
}
if (++y) {
}