Hacker News new | ask | show | jobs
by cristiantincu 4809 days ago
`(new Error()).stack` is non-standard. But that’s a nice hack, nevertheless.
1 comments

The underlying construct (console.log processing "%c" and styles) is nonstandard to begin with.
Yes. It will not break, though.

Unless you’re running it on an old IE that doesn’t host the `window.console` object.