Last Updated: February 25, 2016
·
599
· skopp

eval is Evil

The eval function is the most misused feature of JavaScript. Avoid it.

eval has aliases. Do not use the Function constructor. Do not pass strings to setTimeout or setInterval.

source: Code Conventions for the JavaScript Programming Language