iotjs
iotjs copied to clipboard
broken Timers
By specification, and since about ever in every engine, timers accept extra arguments.
setTimeout(function (str) {
console.log(str);
}, 1000, "Hello IoT.js!!");
Above code should log Hello IoT.js! ... it prints
uncaughtException: undefined
instead.
Please get core functionalities right ;-) thank you!
@WebReflection Thanks for pointing out. It looks like we haven't been visiting timer for long time since initial implementation. I'll take a look at this.
Closing as #157 landed. Feel free to reopen if needed