lox/jlox/tests/for_tests.lox

9 lines
95 B
Plaintext

var a = 0;
var temp;
for(var b = 1;a < 10000;b = temp + b){
print a;
temp = a;
a = b;
}