Where does javascript store variables and how long are they kept? -


this might bit general but, i'm wondering js variables stored? , kept when click new pages or every time data reset?

they reset every time refresh.

there multiple ways persist them between reloads. e.g.

for of these methods need persist these (generally due user interaction) , load these on page reload etc. not happen automatically, have explicitly so.


Comments