ExamVeda
Login
Home
This question belongs to Javascript Array And Function
Array and Function
?

Consider the following code snippet :
var grand_Total=eval("10*10+5");
The output for the above statement would be :

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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.