+ 1
It's really recommended to declare var keyword? If I don't, it can affect the readability of the code?
var javaScript = 10 javaScript = 10
2 Respostas
+ 2
Always declare with var because without it you effectively declaring a global var (though you have declared it inside a function) and that can have some hard to detect problems