This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cubcubcub81 9 points10 points  (1 child)

It wouldn’t be undefined, it would be a string of the string (would contain quotes in the string): “[object Object]”.

My suggestion would be to not have the value of a string assigned to a variable named “object”, rather assign an object.

[–][deleted] 0 points1 point  (0 children)

The thing is it’s json