1.

Which of the following functions are synchronous?(a) load()(b) require()(c) both load() and require()(d) create()This question was posed to me by my school principal while I was bunking the class.This is a very interesting question from Web Workers in division Caching, Debugging and Animation of JavaScript

Answer» CORRECT option is (C) both load() and require()

The best explanation: JavaScript has two synchronous load() and require(). The load() method loads data from a SERVER and puts the RETURNED data into the SELECTED element.


Discussion

No Comment Found

Related InterviewSolutions