Last active
January 11, 2021 22:59
-
-
Save DenisCangemi/b0a1067a6a970ed1196f1db3046587a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let personObj = { | |
name: 'John', | |
breed: 'Smith' | |
}; | |
let personStringified = JSON.stringify(personObj); | |
localStorage.setItem(key, personStringified); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment