InterviewSolution
Saved Bookmarks
| 1. |
Which are the two functions that are not allowed in any secure subset?(a) evaluate() and restrict()(b) eval() and the Function() constructor(c) debugger() and test()(d) eval() and debugger()I had been asked this question in homework.Question is taken from JavaScript Subsets in chapter Classes and Modules in JavaScript of JavaScript |
|
Answer» Right answer is (b) eval() and the FUNCTION() constructor |
|