Ahhhhhh. Number 3 has been something I always get stuck on "Why is this logging as [object Object]?". That makes so much sense it was trying to log it as a string. Thanks for that tip!
i reserve 20' a day to watch your videos. it's like seeing a year ahead :-) presumably the stack trace has great use when you're learning someone else's code... liked and shared
Thanks a lot for sharing, console.trace is indispensable tool for troubleshooting. I did not know about console.table. The curly braces looks like ES6 object destructuring. I usually use JSON.stringify, but it can get cumbersome sometimes with circular references.
Thankyou sir for video tutorials I have started with Javascript playlist as I'm not good with it and it's very helpful really appreciate your efforts for making all this great tutorials playlist.
Please upload a video about how to use local storage when you have store credentials of multiple users for a sign in, sign up form and then using it when it is needed. It will be very useful.Thank you! P.S. - You are an awesome teacher, please keep teaching these useful and cool things❤️
Please post tutorial requests in the comments here - ua-cam.com/video/LCezax2uN3c/v-deo.html I have a tutorial on localStorage here - ua-cam.com/video/hOCYNdgsUfs/v-deo.html
I find myself often having to console log an object with console.log(JSON.parse(JSON.stringify(myObject))) Because objects are shown In the console with their values at the time you click the down arrow. So if the object had changed since you logged it you’ll get the updated version, not the version at the time of the console.log. Is there a console that makes this easier?
The console only shows values at the time that you log them. You should go to the Sources tab in the developer tools and use the Watch tool to track variables over time. You can also use breakpoints in the Sources tab to pause execution.
“The console only shows values at the time you log them.” ... I’m either misunderstanding this or we disagree on this point. If you console log an object, and hover over the little bluish square next to the object in the console log, it will tell you that it’s being evaluated at the time you click to view it. The rest makes sense. I Have used breakpoints. I haven’t used The watch tool though, so thanks for that! (Would love to see a video on that!) Regardless I appreciate the video and your time to respond!
Thank you for the great content, app.listen(PORT, console.log(`Server running in ${process.env.NODE_ENV} mode on port ${PORT}`)), using express and mongoose, the server is running but not really and I am getting no overload matches this call I was getting the data with mongodb but broke the code and after a fix, this is the final error, using yarn instead of npm and just merging to their commands. Any advice will do, thank you.
The second parameter for app.listen needs to be a callback function, not a call to a function. app.listen(PORT, function(err){ //in here you can discover the error and use console.log. });
@@SteveGriffith-Prof3ssorSt3v3 Thank you, I knew it, had to read all the docs all over again, and they say what you said. It is someone else's code, I am doing MERN on udemy, got really eager to resolve it, debugging is best way to learn. After 24hr suffer, 4am first youtube video is yours explaining console.log in an amazing way. I took CS50 and you are the first human that makes sense, you have the gift to teach. I am a fan already, hope you do a project, gladly will pay!
Ahhhhhh. Number 3 has been something I always get stuck on "Why is this logging as [object Object]?". That makes so much sense it was trying to log it as a string. Thanks for that tip!
This is one of the best java script video, pure gold...awesome job
Dude..!! You have no idea how helpful this video was thanks man much appreciated.
i reserve 20' a day to watch your videos. it's like seeing a year ahead :-)
presumably the stack trace has great use when you're learning someone else's code...
liked and shared
Thanks a lot for sharing, console.trace is indispensable tool for troubleshooting. I did not know about console.table. The curly braces looks like ES6 object destructuring. I usually use JSON.stringify, but it can get cumbersome sometimes with circular references.
Thank you for this video. I had no idea about the function methods included with the console function.
Man you're super teacher and so helpful for us! Thanks a lot.
Thankyou sir for video tutorials I have started with Javascript playlist as I'm not good with it and it's very helpful really appreciate your efforts for making all this great tutorials playlist.
Very interesting informations , Thank you Steve
Thats so helpful, and your explanation way is easy to understand, thank you
Thanks for another great video! Keep up the good work
Great video, I always learn so much watching you, thanks!
Please upload a video about how to use local storage when you have store credentials of multiple users for a sign in, sign up form and then using it when it is needed. It will be very useful.Thank you!
P.S. - You are an awesome teacher, please keep teaching these useful and cool things❤️
seconded
Please post tutorial requests in the comments here - ua-cam.com/video/LCezax2uN3c/v-deo.html
I have a tutorial on localStorage here - ua-cam.com/video/hOCYNdgsUfs/v-deo.html
Brilliant ! Quite simple Quite useful info. Keep it up.
Thanks !! you are explanation is very good
very useful video, thank you very much!
I find myself often having to console log an object with console.log(JSON.parse(JSON.stringify(myObject))) Because objects are shown In the console with their values at the time you click the down arrow. So if the object had changed since you logged it you’ll get the updated version, not the version at the time of the console.log. Is there a console that makes this easier?
The console only shows values at the time that you log them. You should go to the Sources tab in the developer tools and use the Watch tool to track variables over time. You can also use breakpoints in the Sources tab to pause execution.
“The console only shows values at the time you log them.” ... I’m either misunderstanding this or we disagree on this point. If you console log an object, and hover over the little bluish square next to the object in the console log, it will tell you that it’s being evaluated at the time you click to view it.
The rest makes sense. I Have used breakpoints. I haven’t used The watch tool though, so thanks for that! (Would love to see a video on that!)
Regardless I appreciate the video and your time to respond!
alway nice content
Thank you for the great content, app.listen(PORT, console.log(`Server running in ${process.env.NODE_ENV} mode on port ${PORT}`)), using express and mongoose, the server is running but not really and I am getting no overload matches this call
I was getting the data with mongodb but broke the code and after a fix, this is the final error, using yarn instead of npm and just merging to their commands. Any advice will do, thank you.
The second parameter for app.listen needs to be a callback function, not a call to a function.
app.listen(PORT, function(err){
//in here you can discover the error and use console.log.
});
@@SteveGriffith-Prof3ssorSt3v3 Thank you, I knew it, had to read all the docs all over again, and they say what you said. It is someone else's code, I am doing MERN on udemy, got really eager to resolve it, debugging is best way to learn. After 24hr suffer, 4am first youtube video is yours explaining console.log in an amazing way. I took CS50 and you are the first human that makes sense, you have the gift to teach. I am a fan already, hope you do a project, gladly will pay!
Great video
🔥♥️
First to view and comment!