DEV Community

Discussion on: Javascript Shorthand Coding Techniques

Collapse
 
kostagon profile image
Kosta Goncharov

Also, the arrow function in this case isn't hoisting,
function expressions (aka the longhand) will hoist.