MCQ PracticeSingle Best AnswerTopic: Javascript Classes MCQ
Q
The webpage may be updated using JavaScript by using
Question ID
#5011
Subchapter
Javascript Classes MCQ
Action
Choose one option below
Choose Your Answer
Click an option to check whether your answer is correct.
A
window.reload
✔✖
B
location.reload
✔✖
C
window.refresh
✔✖
D
page.refresh ✔✖
B
Correct Answer: B
Explanation
The reload() method is a method of the Location object in JavaScript, which is used to reload the current page from the server. It can be called using the location.reload() notation.