?
Consider the following code snippet :
Consider the following code snippet :
var grand_Total=eval("10*10+5");
The output for the above statement would be :
var grand_Total=eval("10*10+5");
Answer & Solution
Correct Answer:
Option
C
Even if the string value passed as a parameter to eval does represent a numeric value the use of eval() results in an error being generated.
Join the Discussion
Login to post a comment or share your explanation.
Login