Q. Which function evaluates a string as code?

A
eval()
B
parse()
C
execute()
D
run()
Solution:

eval() evaluates a string as JavaScript code.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!