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

    Eval function try to execute and interpret the string (argument) passed to it as python code. x=1 print (eval ('x+1')) Output of the above code will be 2. The disadvantage of such approach is …

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

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

    Jul 11, 2018 · How to use .$$eval function Asked 6 years, 11 months ago Modified 2 years, 10 months ago Viewed 33k times

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

    Aug 13, 2013 · Many developers believe that JavaScript's eval() method should be avoided. This idea makes sense from a design perspective. It is often used as an ugly workaround when a …

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

    The reason for using eval is that it eval uates 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 …

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

    Jan 7, 2015 · 9 eval() provides access to the JavaScript compiler and this ultimately allows for code to be executed at a later time. The arguments passed to the function are passed to the …

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

    Nov 22, 2009 · Can anyone show me some absolutely minimal ASP.NET code to understand Eval() and Bind()? It is best if you provide me with two separate code-snippets or may be web …

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

  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. Is there ever a good reason to use eval ()? - Stack Overflow

    Dec 1, 2009 · It seems to me that eval() is treated with the same disdain that goto is. And by eval, I mean a function for executing a string as code, as seen in PHP, Python, JavaScript, etc. Is …