4 ms·
JSLint recommends declaring vars at the top of the function because vars have function-scope regardless of where they appear in the function ("variable hoisting
by cpeterso 14y ago
JSLint recommends declaring vars at the top of the function because vars have function-scope regardless of where they appear in the function ("variable hoisting").