Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Eval
I seen eval many times. But what does it do?
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.
+ 1
So its like a calculator.
https://code.sololearn.com/WLlb9Ok1XYi3/?ref=app