About 1,210,000 results
Open links in new tab
  1. What does Python's eval() do? - Stack Overflow

    See also: Why is using 'eval' a bad practice? to understand the critical security risks created by using eval or exec on untrusted input (i.e.: anything that is even partially under the user's …

  2. The 'eval' command in Bash and its typical uses - Stack Overflow

    After reading the Bash man pages and with respect to this post, I am still having trouble understanding what exactly the eval command does and which would be its typical uses. For …

  3. What is the "eval" command in bash? - Unix & Linux Stack Exchange

    eval is a bash-builtin and is documented in the man page of bash. So just type "man bash" and search for the appropriate section for eval. This applies for other bash-builtins, too.

  4. Why is using the JavaScript eval function a bad idea? [closed]

    The eval function is a powerful and easy way to dynamically generate code, so what are the caveats?

  5. What is the intended purpose of eval in JavaScript?

    Jan 7, 2015 · eval Evaluates a string of JavaScript code without reference to a particular object. If you construct an arithmetic expression as a string, you can use eval to evaluate it at a later …

  6. Is there ever a good reason to use eval ()? - Stack Overflow

    Dec 1, 2009 · This question cannot be language-agnostic because of the special role of block eval in Perl as the primary exception handling mechanism. Therefore, I submit to you that there …

  7. What's the main benefit of using eval () in JavaScript?

    eval makes it possible to execute (or evaluate) a string of javascript code. Thus, it is applicable when you want someone to execute a string of javascript code.

  8. javascript - JSON.parse vs. eval () - Stack Overflow

    Dec 3, 2009 · My Spider Sense warns me that using eval() to parse incoming JSON is a bad idea. I'm just wondering if JSON.parse() - which I assume is a part of JavaScript and not a browser …

  9. When is JavaScript's eval () not evil? - Stack Overflow

    Oct 13, 2008 · To the point, let's look at the dangers in the use of eval (). There are probably many small hidden dangers just like everything else, but the two big risks - the reason why …

  10. What are the Alternatives to eval in JavaScript? - Stack Overflow

    May 22, 2017 · Everyone says eval is EVIL (as in bad) and slow (as I have found), but I can't really do anything else - the server simply pulls the data out the database and pushes to the …