Last active
July 27, 2019 04:15
-
-
Save lmzach09/ae57f472db85125f316991751821e22d to your computer and use it in GitHub Desktop.
Object To String Fail with toString
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 obj = { "key": "value" }; | |
let myString = obj.toString(); | |
console.log(myString); | |
// '[object Object]' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment