JavaScript C15 The reload() method of the location object has an optional force
ID: 3920197 • Letter: J
Question
JavaScript C15
The reload() method of the location object has an optional force parameter. If it’s set to true, the browser
Question options:
loads the page from the client
loads the page from the server
doesn’t reload the page
Which of the following statements loads a new page and overwrites the current history page?
Question options:
location.replace("http://wwww.murach.com");
history.replace("http://wwww.murach.com");
history.go("http://wwww.murach.com");
Which of the following is not a method of the history object?
Question options:
back()
forward()
go()
Which of the following statements goes back one step in the URL history?
Question options:
history.length = -1;
history.back();
history.go("back");
Which attribute of a cookie do you set to create a persistent cookie?
Question options:
max-age
path
secure
The main difference between local storage and session storage is
Question options:
session storage is stored indefinitely; local storage is lost when the browser closes
session storage has a shortcut syntax and local storage doesn’t
local storage has a clear() method and session storage doesn’t
Question 3 0 / 1 pointExplanation / Answer
The reload() method of the location object has an optional force parameter. If it’s set to true, the browser
Answer:
loads the page from the server
Which of the following statements loads a new page and overwrites the current history page?
Answer:
history.go("http://wwww.murach.com");
Which of the following is not a method of the history object?
Answer:
forward()
Which of the following statements goes back one step in the URL history?
Answer:
history.back();
Which attribute of a cookie do you set to create a persistent cookie?
Answer:
max-age
The main difference between local storage and session storage is
Answer:
session storage is stored indefinitely; local storage is lost when the browser closes
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.