正在加载视频...

视频加载失败

Going weirdly deep on console.log

125,376 次观看 • 1 年前 •via X (Twitter)

10 条评论

Ben Holmes 的头像
Ben Holmes1 年前

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

Erik Rasmussen 👨‍💻🇺🇸🇪🇸 的头像
Erik Rasmussen 👨‍💻🇺🇸🇪🇸1 年前

What’s that? Never used it.

tyrant lizard prince 的头像
tyrant lizard prince1 年前

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 的头像
João Vitor Zaniolo1 年前

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 的头像
Matt Pocock1 年前

None! Just the raw output

François Best - 🦋 的头像
François Best - 🦋1 年前

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

Kenny Fellows 的头像
Kenny Fellows1 年前

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

Dylanwoo 的头像
Dylanwoo1 年前

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

Matt Pocock 的头像
Matt Pocock1 年前

Yes, as mentioned

VPetar 的头像
VPetar1 年前

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

相关视频