mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
very simple test for do...while
This commit is contained in:
parent
5be63cf1c3
commit
0f783c7c43
5
tests/test_do_while.js
Normal file
5
tests/test_do_while.js
Normal file
@ -0,0 +1,5 @@
|
||||
var x=1;
|
||||
do { x*=2; } while (x<255);
|
||||
|
||||
result = x==256;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user