?
What is the purpose of the function eval?
Answer & Solution
Correct Answer:
Option
C
eval is a JavaScript native function that accepts a string and executes the string as JavaScript. It basically fires up the interpreter and allows the passed-in string to be parsed and interpreted at the time of invocation.
Join the Discussion
Login to post a comment or share your explanation.
Login