Quick Tip to Console-Logging Arrow Functions
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.
Welcome to my blog where I write mostly about technical things!
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.
This is a test :) Hello world