Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Going weirdly deep on console.log

125,416 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Ben Holmes
Ben Holmesvor 2 Jahren

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

Profilbild von Erik Rasmussen 👨‍💻🇺🇸🇪🇸
Erik Rasmussen 👨‍💻🇺🇸🇪🇸vor 2 Jahren

What’s that? Never used it.

Profilbild von tyrant lizard prince
tyrant lizard princevor 2 Jahren

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

Profilbild von João Vitor Zaniolo
João Vitor Zaniolovor 2 Jahren

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

Profilbild von Matt Pocock
Matt Pocockvor 2 Jahren

None! Just the raw output

Profilbild von François Best - 🦋
François Best - 🦋vor 2 Jahren

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

Profilbild von Kenny Fellows
Kenny Fellowsvor 2 Jahren

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

Profilbild von Dylanwoo
Dylanwoovor 2 Jahren

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

Profilbild von Matt Pocock
Matt Pocockvor 2 Jahren

Yes, as mentioned

Profilbild von VPetar
VPetarvor 2 Jahren

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

Ähnliche Videos