1.

The Crockford’s subset does not include which function in JavaScript?(a) eval()(b) coeval()(c) equal()(d) equivalent()I had been asked this question during an interview.My doubt stems from JavaScript Subsets in chapter Classes and Modules in JavaScript of JavaScript

Answer» CORRECT OPTION is (a) eval()

EXPLANATION: The Crockford’s subset does not INCLUDE the with and continue statements or the eval() FUNCTION. It defines functions using function definition expressions only and does not include the function definition statement.


Discussion

No Comment Found

Related InterviewSolutions