Load Values on Implicit JavaScript Arrow Function Returns

Share this video with your friends

Send Tweet

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.