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

    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. 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 …

  4. 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 …

  5. 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 …

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

    At step 6 eval causes the processed line to be sent back to step 1. It is the only condition under which the execution sequence goes back. That is why I say: With eval an input line is parsed …

  7. 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 …

  8. 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 …

  9. (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. …

  10. Understanding ASP.NET Eval () and Bind () - Stack Overflow

    This code snippet shows how Eval and Bind would be used for a ListView control (InsertItem needs Bind, as explained by Darin Dimitrov above, and ItemTemplate is read-only (hence …