Which is the subset that transforms web content into secure modules that can be safely hosted on a web page?
A. Microsoft Web Sandbox
B. ADsafe
C. Caja
D. dojox.secure
Answer: Option D
Solution(By Examveda Team)
Caja is Google’s open-source secure subset. Caja (Spanish for “box”) defines two language subsets. Cajita (“little box”) is a narrow subset like that used by ADsafe and dojox.secure. Valija (“suitcase” or “baggage”) is a much broader language that is close to regular ECMAScript 5 strict mode (with the removal of eval()). Caja itself is the name of the compiler that transforms (or “cajoles”) web content (HTML, CSS, and JavaScript code) into secure modules that can be safely hosted on a web page without being able to affect the page as a whole or other modules on the page.Related Questions on Classes and Modules
The behaviour of the instances present of a class inside a method is defined by
A. Method
B. Classes
C. Interfaces
D. Classes and Interfaces
The keyword or the property that you use to refer to an object through which they were invoked is
A. from
B. to
C. this
D. object
Consider the following code snippet :
The output would be :var o = new F();
o.constructor === F
A. false
B. true
C. 0
D. 1
The basic difference between JavaScript and Java is
A. There is no difference
B. Functions are considered as fields
C. Variables are specific
D. Functions are values, and there is no hard distinction between methods and fields
Join The Discussion