HTML and CSS Reference
In-Depth Information
Correct answer: C
4.
Incorrect: There is a limit associated with processors.
A.
Incorrect: There is no such property as self.configuration. .
B.
Correct: There is no limit on the number of workers that can be created. However,
too many will result in performance issues.
C.
Incorrect: There is no such limitation.
D.
Correct answer: D
5.
Incorrect: wsConnection.repeatWork(“workerFile.js”,30000); isn't valid code.
A.
Incorrect: setTimeout(function(){ worker.postMessage(“”);}, 30000); delays for
30 seconds before running the anonymous function once.
B.
Incorrect: In s etTimeout( worker.postMessage(“”), 30000); , setTimeout waits for the
specified delay before running the passed-in function. In this case, the parameter
isn't a function.
C.
Correct: setInterval(function(){ worker.postMessage(“”);}, 30000); calls the passed-in
function every interval as specified by the second parameter in milliseconds.
D.
Search WWH ::




Custom Search