Thursday, 19 March, 2020 UTC


Summary

Using console.log() in arrow functions with implicit returns is usually a huge pain as you need to add curly bracers every time you want to peek at something before returning it. JavaScript short circuit OR operator makes it seamless and easy to place some logs on-demand where you need them.