In the previous post I used a JavaScript proxy object to extend console.log() to show a small coloured flag next to the output, when called as console.log.red(), or console.log.orchid() – or any other CSS colour name. The code was a …
Read moreColouring console.log() with a JavaScript proxy object
Are you the sort of web developer who uses console.log() to log out the flow through your code, confirming it’s following the paths you expect. Do you end up with liberal sprinklings of console.log() calls, each with a prefix or …
Read more