Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (OXOXO)
- localStorage.key = 'value';
- // Is exactly the same as using
- localStorage.setItem('another-key', 'another-value');
- // And these do exactly the same thing:
- localStorage.getItem('key') // -> 'value'
- localStorage.key // -> 'value'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement