image2text

Untitled

Aug 20th, 2019
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. (OXOXO)
  2.  
  3. localStorage.key = 'value';
  4.  
  5. // Is exactly the same as using
  6. localStorage.setItem('another-key', 'another-value');
  7. // And these do exactly the same thing:
  8. localStorage.getItem('key') // -> 'value'
  9. localStorage.key // -> 'value'
Advertisement
Add Comment
Please, Sign In to add comment