Loading video...

Video Failed to Load

Go Home

Going weirdly deep on console.log

125,376 views • 1 year ago •via X (Twitter)

10 Comments

Ben Holmes's profile picture
Ben Holmes1 year ago

On today's episode of "Matt shows me something that changes my life forever:"

Erik Rasmussen 👨‍💻🇺🇸🇪🇸's profile picture
Erik Rasmussen 👨‍💻🇺🇸🇪🇸1 year ago

What’s that? Never used it.

tyrant lizard prince's profile picture
tyrant lizard prince1 year ago

if you have to pass in that much config on every log doesn't it make sense to just use a logger

João Vitor Zaniolo's profile picture
João Vitor Zaniolo1 year ago

Hey Matt, what software are you using for the Shure mic on MacOS? I have the same mic and I'm starting to record some videos too

Matt Pocock's profile picture
Matt Pocock1 year ago

None! Just the raw output

François Best - 🦋's profile picture
François Best - 🦋1 year ago

I use console.dir all the time, as it also works on the browser (no imports needed).

Kenny Fellows's profile picture
Kenny Fellows1 year ago

Just FYI, you can actually pass `null` to the `depth` option instead of `Infinity`, and it will accomplish the same thing.

Dylanwoo's profile picture
Dylanwoo1 year ago

I think we can directly use console.dir(obj, {depth: null}) ?

Matt Pocock's profile picture
Matt Pocock1 year ago

Yes, as mentioned

VPetar's profile picture
VPetar1 year ago

I really love this background you've got now. ^_^ Oh, yes, dir's old topic for me, just wanted to compliment the background. :D

Related Videos