@fanoush ye i think you're right.
I think its doing what its meant to, just the output is confusing me. I'm reading the left hand side of the web ide incorrectly. Like i'm not sure if i read top down , or down up, i thought it was like a traditional console, but having doubts. Also why does the output from console.log within the closure/timeout not have '>' before it. If it was output "AFTER" the while loop, then it should be "BELOW" .. if i'm reading top down..
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@fanoush ye i think you're right.
I think its doing what its meant to, just the output is confusing me. I'm reading the left hand side of the web ide incorrectly. Like i'm not sure if i read top down , or down up, i thought it was like a traditional console, but having doubts. Also why does the output from console.log within the closure/timeout not have '>' before it. If it was output "AFTER" the while loop, then it should be "BELOW" .. if i'm reading top down..