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
Answer: Option C
Solution(By Examveda Team)
The getSelection() method returns the value of the cursor-selected text.Which of the following property gives access to the JavaScript memory usage data?
A. performance.memory
B. memory(performance)
C. performance(memory)
D. none of the mentioned
What is the purpose of the timing property in the window.performance object?
A. Time of navigation event
B. Time of page load event
C. Time of navigation and page load event
D. None of the mentioned
Which of the following property is associated with the Response event?
A. responseStart
B. responseEnd
C. both responseStart and responseEnd
D. none of the mentioned
A. responseEnd-loadEventEnd
B. loadEventEnd-responseEnd
C. loadEventEnd/responseEnd
D. responseEnd/loadEventEnd
Join The Discussion