Some great JavaScript performance tips, like replacing eval() with new Function().
Instead of writing
eval(strCode)
use
(new Function(strCode))()
http://moduscreate.com/javascript-performance-tips-tricks/
Instead of writing
eval(strCode)
use
(new Function(strCode))()
http://moduscreate.com/javascript-performance-tips-tricks/
No comments:
Post a Comment