a) Microsoft Web Sandbox b) ADsafe c) Caja d) dojox.secure Answer: d Explanation: Caja is Google’s open-source secure ...
View QuestionWhich was one of the first security subsets proposed?
a) FBJS b) Caja c) dojox.secure d) ADSafe Answer: d Explanation: ADsafe was one of the first security subsets ...
View QuestionWhich is the object that defines methods that allow complete control over page content?
a) The client-side document object b) The server-side document object c) Both client-side and server-side ...
View QuestionWhich 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() Answer: ...
View QuestionWhy is “this” keyword not preferred in JavaScript?
a) Highly memory consuming b) Functions should access the global objects c) Functions should not access the global objects
View QuestionWhich is the subset that is a secure container designed for the purpose of safely running untrusted JavaScript?
a) Sandbox b) The Good Parts c) Both Sandbox and Good Parts d) Web browser Answer: a
View QuestionWhy was “The Good Parts” designed as a language subset in JavaScript?
a) To improve programmer flexibility b) To balance the workload of the programmer c) To create an in-built compiler ...
View QuestionWhat is being imposed on each subset to ensure that it conforms to the subset?
a) A parser to parse the code b) A parser that parses and adds to the subset c) A ...
View QuestionWhat does javascript use instead of == and !=?
a) It uses bitwise checking b) It uses === and !== instead c) It uses equals() and notequals() instead
View QuestionThe Crockford’s subset does not include which function in JavaScript?
a) eval() b) coeval() c) equal() d) equivalent() Answer: a Explanation: The Crockford’s subset ...
View Question