InterviewSolution
Saved Bookmarks
| 1. |
The localStorage and sessionStorage belongs to ___________(a) Window object(b) Element object(c) Hash object(d) DOM object |
|
Answer» Correct choice is (a) Window object For explanation: Browsers that implement the “Web Storage” draft specification define two properties on the Window object: localStorage and sessionStorage. Local storage and Session storage are the web storage objects. Session storage is destroyed once the user closes the browser whereas, Local storage stores data with no expiration date. |
|