Great - glad you got this sorted! Do you remember where that example was? If it's on the Espruino site I might be able to change it.
Sadly, as with most things, there's a lot of bad advice on the internet that I have no control over.
This kind of thing has been happening a lot recently, so I guess about the only thing I could do is to add code to the Web IDE to detect when people do this and them warn them.
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.
Great - glad you got this sorted! Do you remember where that example was? If it's on the Espruino site I might be able to change it.
Sadly, as with most things, there's a lot of bad advice on the internet that I have no control over.
This kind of thing has been happening a lot recently, so I guess about the only thing I could do is to add code to the Web IDE to detect when people do this and them warn them.