Skip to content Skip to sidebar Skip to footer

When Does Javascript Initialize Vars?

var x = ['aaa', 'bbb', 'ccc', ...]; function f() { var y = ['aaa', 'bbb', 'ccc', ...]; } It is a big array, at least in my opinion. I assume y gets initialized again at every

Solution 1:

yes (+27 chars to satisfy SO!)


Post a Comment for "When Does Javascript Initialize Vars?"