SHARE
TWEET

Untitled

a guest Jun 24th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title></title>
  5.     </head>
  6.     <body>
  7.         <script type="text/javascript">
  8.             const regularData = JSON.parse(localStorage.getItem('user'));
  9.             if (regularData !== null) {
  10.               console.log(regularData.firstName, regularData.name);
  11.             };
  12.         </script>
  13.     </body>
  14. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top