When this article is written localstorage in javascript isn't anything new. It's been available since html5 rolled out on the web, and is simply a way of storing user data between page views. Cookies in javascript As most people know, nothing in javascript is saved when a user reloads a page or navigates to another…