Source code
Revision control
Copy as Markdown
Other Tools
function testConstIf() {
var x;
for (var j=0;j<5;++j) { if (1.1 || 5) { } x = 2;}
return x;
}
assertEq(testConstIf(), 2);
function testConstIf() {
var x;
for (var j=0;j<5;++j) { if (1.1 || 5) { } x = 2;}
return x;
}
assertEq(testConstIf(), 2);