Question 16/24
advanced
Select one answer

What is eval() in JavaScript?

A method to evaluate CSS styles
A function that evaluates JavaScript code represented as a string
A method to validate user input
A function that compares two values

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.