Let’s say in the localstorage, there are these keys:
location
distance
student1
student2
student3
school
how do I removeItem “all local storage keys that contains “student”.
Something like :
window.localstorage.removeItem(includes("student"));
The end result is the localstorage looking like this:
location
distance
school
Thank you