TypeScript/tests/baselines/reference/emptyThenWithoutWarning.js
2015-10-28 08:25:41 +01:00

17 lines
251 B
TypeScript

//// [emptyThenWithoutWarning.ts]
let a = 4;
if(a === 1 || a === 2 || a === 3) {
}
else {
let message = "Ooops";
}
//// [emptyThenWithoutWarning.js]
var a = 4;
if (a === 1 || a === 2 || a === 3) {
}
else {
var message = "Ooops";
}