In Angular I tried:
$localStorage.clear();
It got the error:
$localStorage.clear is not a function
What is the correct calling convention to wipe out $localStorage?
As the manual says,
$localStorage.$reset();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With