strange, after the suggestion I flashed latest espruino to some random esp8266 board here and it did reboot too with that code but when I removed the digitalPulse(NodeMCU.D5, 1, 0); line it did not reboot
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.
strange, after the suggestion I flashed latest espruino to some random esp8266 board here and it did reboot too with that code but when I removed the
digitalPulse(NodeMCU.D5, 1, 0);
line it did not reboot