Very cool, I'm ashamed I didn't know this after 11 years as a dev, with most of my years doing JS ahaha. I think I might have something to flex to the interns tomorrow kek. What plugin are you using to generate the object? Some AI? I have run some of them and didn't like the experience. Good video, thanks for the free knowledge!
Glad you liked it! Haha i'm embarrassed too that I only just found out about these. I'm using Cursor IDE to do the AI code generation. It's pretty cool you should check it out 🤗.
Something important that you missed in your experiments are how these console methods are displayed in the *browser* console. Browsers like Chrome will actually enrich the output of console.dir and make it interactive, allowing you to collapse/expand each level. console.table will also be made interactive, and will allow you to sort columns the same way a datatable widget would allow you to do. This article also didn't mention the different log levels. There's console.info, console.error, console.warn and console.debug in addition to console.log, and this is worth noting because unlike the integrated terminal in your IDE, browser consoles will let you filter on log levels with the press of a button. Then there's also console.trace, which the article didn't mention either. It just outputs a trace of the current function callstack state (the same thing that is underneath your errors when the console logs those).
stop these "STOP USING" titles.
if u dont like it , dont watch it!! its that simple
Haha go easy on me! I was just copying the article title 😅
@@mohammedimthiyaz5225 who said anything about the video ?
Good one, Tunde!
Very cool, I'm ashamed I didn't know this after 11 years as a dev, with most of my years doing JS ahaha. I think I might have something to flex to the interns tomorrow kek. What plugin are you using to generate the object? Some AI? I have run some of them and didn't like the experience. Good video, thanks for the free knowledge!
Glad you liked it! Haha i'm embarrassed too that I only just found out about these. I'm using Cursor IDE to do the AI code generation. It's pretty cool you should check it out 🤗.
Hi Tunde… very insightful video
Glad you liked it! 🙌
Something important that you missed in your experiments are how these console methods are displayed in the *browser* console. Browsers like Chrome will actually enrich the output of console.dir and make it interactive, allowing you to collapse/expand each level. console.table will also be made interactive, and will allow you to sort columns the same way a datatable widget would allow you to do. This article also didn't mention the different log levels. There's console.info, console.error, console.warn and console.debug in addition to console.log, and this is worth noting because unlike the integrated terminal in your IDE, browser consoles will let you filter on log levels with the press of a button. Then there's also console.trace, which the article didn't mention either. It just outputs a trace of the current function callstack state (the same thing that is underneath your errors when the console logs those).
Nice thank you ^^
Glad you found it useful 🙌🏽
bro we're javascript developers we've seen these and loved them but at the end we're always gonna stick to console.log for some reason
😂 our fingers are just used to hitting those keys
I love me a console.log 😈