Which best explains getSelection()?
(a) Returns the VALUE of a selected OPTION
(b) Returns document.URL of the window in focus
(c) Returns the value of cursor-selected text
(d) Returns the VALUE of a checked radio input
I had been asked this question during an online interview.
Enquiry is from Script Loading in chapter Invocation and Performance Navigation 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)