HTML5 - HTML5 Web Development Practice Test
HTML5 HTML5 Web Workers 3
Which of the following correctly checks if Web Workers are supported in the current browser?
Select your answer
A
if (typeof Worker !== 'undefined') { ... }
B
if (window.supportsWorkers) { ... }
C
if (navigator.webWorkers === true) { ... }
D
if (document.hasWorkerSupport()) { ... }
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →