Which will be invoked to create a new worker?

Which will be invoked to create a new worker? Correct Answer Constructor

When executing scripts in an HTML page, the page becomes unresponsive until the script is finished. To create a new worker, just use the Worker() constructor, passing a URL that specifies the JavaScript code that the worker is to run : var loader = new Worker("utils/loader.js");

Related Questions