1.

Which of the following detects support for basic Worker API?(a) web workers(b) shared workers(c) data workers(d) blob workersI got this question during an interview.This intriguing question comes from Adding HTML features safely with Modernizr in section HTML Images & Web Page Files of HTML

Answer»

Correct answer is (a) web workers

Easy EXPLANATION: The support of basic web worker is DETECTED by web workers. Web workers mean running a script in the background for web content. Shared workers detect support of shared workers, data workers detect support for CREATING Web Workers from Data URI’s. BLOB workers detect support for creating web workers from Blob URI.



Discussion

No Comment Found

Related InterviewSolutions