0
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