Are you sure about that? Is it all because of this "recursive function"s memory consumption?
sleep function is just a renamed setTimeout function:
sleep
setTimeout
var sleep; sleep = function(ms, f){ return setTimeout(f, ms); };
@ceremcem started
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.
Are you sure about that? Is it all because of this "recursive function"s memory consumption?
sleep
function is just a renamedsetTimeout
function: