About 555,000 results
Open links in new tab
  1. eval () - JavaScript | MDN

    3 days ago · The eval () function evaluates JavaScript code represented as a string and returns its completion value. The source is parsed as a script.

  2. JavaScript eval () Method - W3Schools

    Description The eval() method evaluates or executes an argument. If the argument is an expression, eval() evaluates the expression. If the argument is one or more JavaScript …

  3. Eval: run a code string - The Modern JavaScript Tutorial

    Sep 25, 2019 · Rarely used in modern JavaScript, as there’s usually no need. Can access outer local variables. That’s considered bad practice. Instead, to eval the code in the global scope, …

  4. eval - Wikipedia

    eval In some programming languages, eval , short for evaluate, is a function which evaluates a string as though it were an expression in the language, and returns a result; in others, it …

  5. eval in Python - GeeksforGeeks

    Jul 23, 2025 · Python eval function comes with the facility of explicitly passing a list of functions or variables that it can access. We need to pass it as an argument in the form of a dictionary.

  6. Python eval (): Evaluate Expressions Dynamically

    Python’s eval() allows you to evaluate arbitrary Python expressions from a string-based or compiled-code-based input. This function can be handy when you’re trying to dynamically …

  7. How to Use eval in JavaScript: Syntax, Examples, and Security Risks

    Aug 24, 2025 · Eval means evaluate, as the name suggests, the eval () function in JavaScript is used to evaluate or parse a sequence of statements or a JavaScript expression inside a string …

  8. eval in JavaScript - TutorialsTeacher.com

    Learn what is eval function in JavaScript. eval () is a global function in JavaScript that evaluates specified string as JavaScript code and executes it.

  9. javascript - Why You Should Avoid eval(): Security, Performance, …

    Sep 30, 2025 · Here is a friendly, detailed explanation of common troubles with eval() and safer, more modern alternatives, including sample code. The eval() function is part of JavaScript's …

  10. JavaScript eval () Function - GeeksforGeeks

    Feb 4, 2025 · The eval () function in JavaScript is a powerful but potentially dangerous feature that allows the execution of JavaScript code stored in a string. While eval () can be useful in …