0
Local and Session storage.
Can i use Local And Session Storage of my PC? If yes, how can i? Please help me to clear my confusion.
2 ответов
0
Yes, you can use local, session storage on your PC
To create storage data:
localStorage.setItem("name", "Raju" )
To access the value:
localStorage.getItem("name") that return "Raju"
That same way for Session storage
But session all data delete when you close the tab.
LocalStorage stay data's even close browser till, when you delete datas.
https://www.w3schools.com/jsref/prop_win_localstorage.asp
0
Vadivelan thanks a lot😊