+ 3
[SOLVED] Why sololearn Node executor dont works with setTimeout/setInterval?
When i run code as nodejs and in source has a setInterval, nothing is executed Try https://code.sololearn.com/WO5Mp9JRoQ15/?ref=app
5 odpowiedzi
+ 4
Because the node server is works as online. And Sololearn language consoles that doesn't provide real time outputs, Except webview, because WebView is an offline section provided by android.
+ 6
It works, and output is shown, but you can't see the delay.
console.warn works too:
https://code.sololearn.com/c20Y6nF7PY32/?ref=app
+ 2
SL node support warn, error, table, etc. But in the case of "error", it doesn't act like an error message in SL node.
+ 2
Thanks all Kelvin Paul Kevin ★
+ 1
Kelvin Paul then I suppouse it's the same reason why "console.warn" doesn't output nothing?