(1)
The Crockford’s subset does not include which function in JavaScript?
Answer: eval()
Answer: eval()
Answer: It uses === and !== instead
Answer: A static verifier that parses code
Answer: To improve programmer productivity
Answer: Sandbox
Answer: Functions should not access the global objects
Answer: debugger() and test()
Answer: The client-side document object
Answer: ADSafe
Answer: dojox.secure
var set = new Set(); set.add("one"); set.add("two"); for (let elements of set) { document.writeln(elements+" "); }
Answer: one two
set.add("AngularJS"); set.add("Bootstrap"); set.delete("Bootstrap"); document.writeln(set.size);
Answer: 1
set.add("one"); set.add("two"); set.add("three"); set.clear(); document.writeln(set.size);
Answer: 0
set.add("one"); set.add("two”); var itr=set.values(); document.writeln(itr.next().value);
Answer: one
set.add("1"); set.add("2"); document.writeln(set.has("3"));
Answer: false