Which of the following functions are synchronous?

Which of the following functions are synchronous?
A. load()
B. require()
C. both load() and require()
D. create()
 
Answer: c
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.
 

Tìm kiếm

Back
Top