adplus-dvertising
frame-decoration

Question

What is the purpose of the function eval?

a.

Executes the string as an integer

b.

Gets the value of the string

c.

Executing string as JavaScript

d.

None of the mentioned

Posted under JavaScript

Answer: (c).Executing string as JavaScript

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the purpose of the function eval?