Eval | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Eval

I seen eval many times. But what does it do?

4th Jun 2020, 6:22 PM
Sali65
Sali65 - avatar
3 Respostas
+ 4
eval() is aĀ functionĀ property of the global object. The argument of theeval()Ā functionĀ is a string. If the string represents an expression,Ā eval() evaluates the expression. If the argument represents one or moreJavaScriptĀ statements,Ā eval() evaluates the statements.
4th Jun 2020, 6:23 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
4th Jun 2020, 6:25 PM
Sali65
Sali65 - avatar