1.

Which of the following are global functions that are not part of core JavaScript?(a) spawn(f);(b) trim();(c) exult();(d) eval()The question was asked during an interview.I'd like to ask this question from Scripting Java with Rhino topic in section Server-Side and Client-Side Scripting of JavaScript

Answer»

The CORRECT ANSWER is (a) SPAWN(f);

Easiest EXPLANATION: The spawn(f) runs f() or loads and executes file f in a new THREAD.



Discussion

No Comment Found

Related InterviewSolutions