Posts Tagged string
Javascript: Converting a string representation of an object to an actual Object without eval
Posted by dda in Javascript on December 15, 2011
We all know that eval is evil, right? Every once in a while, I run across a situation where it is very tempting to just use “eval”, but in general I avoid it. Granted, there are acceptable reasons to use “eval”, but I have a hard time justifying a new instance of the JavaScript compiler […]