Question: JavaScript C15 Question 3 0 / 1 point The reload() method of the location object has an optional force parameter. If its set to true,
JavaScript C15
| Question 3 | 0 / 1 point |
The reload() method of the location object has an optional force parameter. If its set to true, the browser
Question options:
| loads the page from the client | |
|
| |
| loads the page from the server | |
| doesnt reload the page |
| Question 4 | 0 / 1 point |
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"); |
| Question 5 | 0 / 1 point |
Which of the following is not a method of the history object?
Question options:
|
| |
| back() | |
| forward() | |
| go() |
| Question 6 | 0 / 1 point |
Which of the following statements goes back one step in the URL history?
Question options:
| history.length = -1; | |
|
| |
| history.back(); | |
| history.go("back"); |
| Question 8 | 0 / 1 point |
Which attribute of a cookie do you set to create a persistent cookie?
Question options:
| max-age | |
| path | |
|
| |
| secure |
| Question 15 | 0 / 1 point |
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 doesnt | |
| local storage has a clear() method and session storage doesnt |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
