How expensive are variables in JavaScript?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-05-24T07:24:25Z Indexed on 2010/05/24 7:31 UTC
Read the original article Hit count: 167

How expensive are local variables (var v), global variables (window.v) and cross-global variables (parent.v) in JavaScript, in the major browsers? Has anyone performed any good tests on this one?

© Stack Overflow or respective owner

Related posts about javascript-performance