Pretty JavaScript Console Messages

If you’ve ever opened up your browser tools while logged into Facebook you might have noticed the above in it (at least, this is what it looks like at the time of writing).
DOM warning aside, it looks a bit different to most console.log messages you’re…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

If you’ve ever opened up your browser tools while logged into Facebook you might have noticed the above in it (at least, this is what it looks like at the time of writing). DOM warning aside, it looks a bit different to most console.log messages you’re probably generating, doesn’t it? A big bit of red text and some other slightly larger text. That’s a bit weird, isn’t it? As it turns out the console functions have a number of formatting options, so if you want to display numbers to certain decimal places you can use %.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2019-03-14T02:44:34+00:00) Pretty JavaScript Console Messages. Retrieved from https://www.scien.cx/2019/03/14/pretty-javascript-console-messages/

MLA
" » Pretty JavaScript Console Messages." Posts on LINQ to Fail | Sciencx - Thursday March 14, 2019, https://www.scien.cx/2019/03/14/pretty-javascript-console-messages/
HARVARD
Posts on LINQ to Fail | Sciencx Thursday March 14, 2019 » Pretty JavaScript Console Messages., viewed ,<https://www.scien.cx/2019/03/14/pretty-javascript-console-messages/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Pretty JavaScript Console Messages. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2019/03/14/pretty-javascript-console-messages/
CHICAGO
" » Pretty JavaScript Console Messages." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2019/03/14/pretty-javascript-console-messages/
IEEE
" » Pretty JavaScript Console Messages." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2019/03/14/pretty-javascript-console-messages/. [Accessed: ]
rf:citation
» Pretty JavaScript Console Messages | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2019/03/14/pretty-javascript-console-messages/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.