- 2
How match variable var occupies, goes in memory ? Thanks you. I want this to calculate complexity in memory.
var occupies goes in memory. https://code.sololearn.com/WI6mk8ULNYRQ/?ref=app
1 Respuesta
0
Var is uses global scope in JS which tends to be a problem because you can overwrite a variable, try to use const and let