can you access local storage from different js files code example
Example 1: how to get variable in local storage in javascript
localStorage.getItem('id');
Example 2: javascript localstorage
var KeyName = window.localStorage.key(index);
localStorage.getItem('id');
var KeyName = window.localStorage.key(index);