My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Difference between const fn1 = (a) => console.log(a) and const fn2 = (a) => { console.log(a); }

Nirmalya Ghosh's photo
Nirmalya Ghosh
·Jul 11, 2018

Can someone explain me the difference between these two?

Screen Shot 2018-07-11 at 10.17.55 AM.png

Both of them seem to log the same thing.