PrepAway - Latest Free Exam Questions & Answers

Where should you place the web worker code?

You are developing an HTML5 page named main.html. The JavaScript code for the main page is
located in a file named myApp.js.
You need to create a web worker and instantiate it from main.html.

Where should you place the web worker code?

PrepAway - Latest Free Exam Questions & Answers

A.
In the myApp.js file

B.
In the main.html file

C.
In a separate .js (JavaScript) file

D.
In a separate executable file


Leave a Reply