What is the code to start displaying the time when the document loads?
(a) onload = displayTime;
(b) window. = displayTime;
(c) window.onload = displayTime;
(d) window.onload = start;
This question was posed to me in an interview for job.
My doubt is from Embedding JavaScript in HTML topic in section Server-Side and Client-Side Scripting 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)