Which of the following reads the textual contents of a URL and returns as a string?
(a) spawn(f);
(b) load(filename,…);
(c) readFile(file);
(d) readUrl(url);
This question was addressed to me at a job interview.
Query is from Remote Logging topic in chapter Parsing, Benchmarking and Logging of JavaScript