How to assign the image source in JavaScript?
(a) image = “url”
(b) source(“url”)
(c) image.src = “url”
(d) img.src=”url”
The question was asked by my college professor while I was bunking the class.
My query is from Animation topic in portion Caching, Debugging and Animation of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)