Is this true for variables declared without any initiating keyword before them as well? Is x = 42; the same as var x = 42; in that regard?
No... if you don't have var in a function it's defined as a global variable :)
var
Thanks!
@Gordon 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.
No... if you don't have
var
in a function it's defined as a global variable :)