HTML5 web storage: With web storage, web applications can store data locally within the user’s browser. Before HTML5, application data had to be stored in cookies, included in every server request.
A JavaScript object is like a real-world entity having state and behavior, for example, a car. We can take a car as an object. It will have a state like color and model. It will also have behaviors like accelerating and brake.