JS Concept MOST Misunderstood 🤔 Implicit Returns in JavaScript

preview_player
Показать описание

JS Concept MOST Misunderstood 🤔 Implicit Returns in JavaScript

Implicit returns in arrow function expressions can be useful but confusing!

👇 Follow Me On Social Media:
Рекомендации по теме
Комментарии
Автор

one of the most difficult thing for me to understand when started working with js. Thanks for the info.

not-me
Автор

Similar to def vs lambda in python, makes sense, altought I am fresh in js, and yes it's a strugle

Sinke_
Автор

Dave, it was fist thing that you tell it us and I knew before.
so excited😌😌😌

saeedkhazalvand
Автор

Thank for the info, that was really helpful.

mohammadshareef
Автор

You can make it better with curried function

nomoredarts
Автор

Yes I forget the return keyword so often while mapping in react🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️.
Instead of using { return ... }, I use ( ... ), Does the same thing, no need to use curly braces at all

blackpurple
Автор

Please, what's the name of the font you're using in vscode ?

nasrisami
Автор

It happens to me all the time mapping elements in react

MJ.
Автор

So is saving a few keystrokes worth the extra debugging?

LeifNelandDk
Автор

I need your help senior today engineer

minutesbibletruth