MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/b2o6f2/whats_your_favorite_most_useful_javascript/eivfeec/?context=3
r/javascript • u/Linux_is_awesome • Mar 18 '19
422 comments sorted by
View all comments
1
console.log=(()=>{var a=console.log;return(...b)=>{a(...(!(b.length>>1)&&b[0].charAt?['%c'+b[0],'font:1em Comic Sans MS']:b))}})();
This will change the font of your log to Comic Sans. I don't know what I would do without it.
1
u/bminixhofer Mar 19 '19
This will change the font of your log to Comic Sans. I don't know what I would do without it.