0
When i console.log an object in js it output [Object object] why.
4 Answers
+ 5
That's just how it shows in the SL playground mobile version.
- You can check the object either by using the JSON stringify method - JSON.stringify(a)
or You can console it in the nodejs playground
+ 3
Share your code
+ 2
Thanks
+ 1
My code:
let a = {
b: "c"
}
console.log(a);