Skip to content

Instantly share code, notes, and snippets.

@danb-humaan
Created March 21, 2016 06:53
Show Gist options
  • Save danb-humaan/d88e95494d5145d139d8 to your computer and use it in GitHub Desktop.
Save danb-humaan/d88e95494d5145d139d8 to your computer and use it in GitHub Desktop.
removeItem: function (key) {
if (this.supportsLocalStorage()) {
localStorage.removeItem(key);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment