Closed scaryzet closed 9 years ago
localStorage.clear() accepts no arguments and clears the entire storage. Probably removeItem() is the way to go.
Great catch! Thanks for submitting this. I'll try to get this merged shortly.
@tejacques please, bump version. It's a critical fix.
@prettynatty this is live on npm now.
thank you!
localStorage.clear() accepts no arguments and clears the entire storage. Probably removeItem() is the way to go.