What you do is parsing a JSON string (for example). This is one of the few cases when evalin fact it is not evil.
If you can trust the server 100%, from which the data comes to the client, this is not a real problem (we are talking about security problems with eval).
, eval(), global window object, cookies, DOM .. .
, eval - , - . eval() , ECMAscript. , , setTimeout
setTimeout("myfunction();", 2000);
setTimeout(myfunction, 2000);
Javascript Javascript .