localStorage object Used for storing key value pairs and can be accessed through the window object. #javascript#storage Reference: https://www.w3schools.com/jsref/prop_win_localstorage.asp window.localStorage // returns Storage object window.localStorage.setItem('counter', 1) // set key value pair window.localStorage.getItem('counter') // returns "1" window.localStorage.clear // clears all data in the Storage object copy