About 669,000 results
Open links in new tab
  1. The 'eval' command in Bash and its typical uses - Stack Overflow

    The eval statement tells the shell to take eval’s arguments as commands and run them through the command-line. It is useful in a situation like below: In your script if you are defining a …

  2. What does Python's eval() do? - Stack Overflow

    As described in the documentation, eval() also has globals and locals keyword arguments which can be used to limit the functions that are available through the eval function. For example, if …

  3. What does the "eval()" function do in Python? - Stack Overflow

    The reason for using eval is that it evaluates an expression which is passed as a string. So for example if you pass "2*3" to eval it will return 6. The documentation for eval is here which is …

  4. Exploiting JavaScript's eval () method - Stack Overflow

    Aug 13, 2013 · The danger of eval() is that an attacker may be able to manipulate data that is eventually run through eval() in other ways. If the eval()'d string comes from an HTTP …

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

    Dec 1, 2009 · When creating/testing code segments eval is PERFECT! Just build a basic scaffolding webpage with textareas and an eval button. Put code into a textarea then press …

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

    May 6, 2012 · In my case using this on a large scale tcp server doesn't require me to recompile source code and kick all clients cause of restarting. So I use eval to add in new scripts on the …

  7. (1, eval) ('this') vs eval ('this') in JavaScript? - Stack Overflow

    You state that ECMA treats reference to eval special which it doesn't. It is the placement in the call expression that is special an that the expression evaluates to the standard eval function. …

  8. Why is using the JavaScript eval function a bad idea?

    eval'd code executes slower (no opportunity to compile/cache eval'd code) Edit: As @Jeff Walden points out in comments, #3 is less true today than it was in 2008. However, while some …

  9. puppeteer - How to use .$$eval function - Stack Overflow

    Jul 11, 2018 · Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

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

    Jan 7, 2015 · Be careful when using eval. eval() is a dangerous function, which executes the code it's passed with the privileges of the caller. If you run eval() with a string that could be affected …

Refresh