InterviewSolution
Saved Bookmarks
| 1. |
For clearing all the settings which function should be called?(a) localStorage.remove(key)(b) localStorage.clear()(c) localStorage.remove()(d) localStorage.clearAll()I had been asked this question by my college professor while I was bunking the class.This intriguing question comes from Web Storage topic in portion HTML Markup, Forms, Video, Audio & Other Multimedia of HTML |
|
Answer» The correct choice is (b) localStorage.clear() |
|