For clearing all the settings which function should be called?
- A localStorage.remove()
- B localStorage.remove(key)
- C localStorage.clearAll()
- D localStorage.clear()
Explanation
The correct answer to the question is: localStorage.clear()
For clearing all the settings which function should be called?
The correct answer to the question is: localStorage.clear()