how to get local storage data javascript code example
Example 1: javascript get local storage
var Item = localStorage.getItem('youritem');
Example 2: how to get variable in local storage in javascript
localStorage.getItem('id');
var Item = localStorage.getItem('youritem');
localStorage.getItem('id');