1. Which of the following is a global object for a new worker?
Correct Answer is : WorkerGlobalScope
2. Which will be invoked to create a new worker?
Correct Answer is : Constructor
3. What will happen if you specify an absolute URL in the Worker constructor?
Correct Answer is : Must have the same origin
4. How can you send data using a Worker object?
Correct Answer is : postMessage()
5. Which property is used to manage multiple event handlers?
Correct Answer is : both onmessage and onerror
6. Which is the function that allows a worker to terminate itself?
Correct Answer is : close()