3 ms·
I would also add that variables can be re-declared. Many beginners probably think that writing this code would produce an error: var i = 0; var i = [];
by fruchtose 14y ago
I would also add that variables can be re-declared. Many beginners probably think that writing this code would produce an error:
var i = 0;
var i = [];
No runtime error will be produced, and the script will continue normal execution.