A

Admin • 828.03K Points
Coach

Q. Which will be invoked to create a new worker?

  • (A) Function
  • (B) Destructor
  • (C) Constructor
  • (D) Interface
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
To create a new worker, just use the Worker() constructor, passing a URL that specifies the JavaScript code that the worker is to run.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.