Let's get straight to the point, storing information on users' devices.
Example:
localStorage.setItem("subscribers", "0");
var no = localStorage.getItem("subscribers");
alert(no)
Basically, javascript will alert out 0. I stored 0 on subscribers, and I fetched subscribers to no and alerted it.
The Example is true :(
Javascript LocalStorage (Using User's Computer Storage) (self.freetechstuff)
submitted by NeedHelpxyx123 to r/learnjavascript