Pages

Friday, December 14, 2012

JavaScript Performance Tips & Tricks

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/

No comments: