Espruino/tests/test_if_else_blocks.js
Michael Duerinckx 7f5308590b Rename numbered tests to something more descriptive - closes #16
test077 is the only one I really couldn't figure out what it was meant
to test.
2014-03-01 22:15:28 +00:00

8 lines
93 B
JavaScript

// if .. else with blocks
var a = 42;
if (a != 42) {
result = 0;
} else {
result = 1;
}