Espruino/tests/test_do_while.js
2014-01-21 18:38:53 +00:00

6 lines
56 B
JavaScript

var x=1;
do { x*=2; } while (x<255);
result = x==256;