eval is Evil
The
eval
function is the most misused feature of JavaScript. Avoid it.
eval
has aliases. Do not use theFunction
constructor. Do not pass strings tosetTimeout
orsetInterval
.
source: Code Conventions for the JavaScript Programming Language
Written by Rashaad Essop
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Eval
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#