Q8
How do we create and preload an image object in JavaScript?
A.
Use new keyword
B.
Call Image()
C.
Both Use new keyword and Call Image()
AnswerD.
None of the mentioned
Answer: Option C
Solution
Answer: Option C
Solution:
The Image() constructor creates and preloads a new image object.