Answer the question
In order to leave comments, you need to log in
What went wrong (node.js, mongoose, Screencasts by Ilya Kantor)?
The screenshot on the left of the video shows the code, and below the console. -- something that should have happened to me.
And on the right is my console and the code in sublime'e.
Interested in why I have [object Object] displayed, and id is not issued?
Answer the question
In order to leave comments, you need to log in
Try to write like this:console.log(JSON.stringify(kitty, null, '\t'))
well, the object should be displayed as [object Object], apparently nodejs under webstorm exposes this object as a browser
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question