OddPen

Welcome to my blog where I write mostly about technical things!

I just wanted to share a quick tip I learned on Twitter a while ago. It was about how you can wrap curly braces around a variable in your console.log statements to transform it into an object and have the variable name automatically prefixed.

Read more...

The problem with one-line arrow functions is that if you want to debug them with console.log, it's fairly annoying since you have to add curly braces and a return statement.

Read more...

This is a test :) Hello world