Re:Console.log with style
by cristiantincu on Friday April 12, 2013 @05:52PM
(#5541287)
`(new Error()).stack` is non-standard. But that’s a nice hack, nevertheless.
[ Parent
| on HN ]
The underlying construct (console.log processing "%c" and styles) is nonstandard to begin with.
Re:Console.log with style
by cristiantincu on Friday April 12, 2013 @06:08PM
(#5541374)
Yes. It will not break, though.
Unless you’re running it on an old IE that doesn’t host the `window.console` object.