ONE tip to INSTANTLY up your JavaScript function game!

preview_player
Показать описание
It's time to talk JavaScript, functions, destructuring, and a super simple and neat way to set up your parameters for maximum clarity and flexibility.

Time to get rid of that parameteritis, folks! 😂
Рекомендации по теме
Комментарии
Автор

This is the most underrated channel you should have at least 100+ K subs !

ristekostadinov
Автор

Every time you bring something new in intro😁

harshkumar
Автор

paul! Amazing. Thanks for the awesome tips! Love the videos and wacky antics. 😎🤓

RabbitWerksJavaScript
Автор

awesome design pattern. video production is top-notch too.

Chris-bthx
Автор

😁 I don't know how you did it, but the intro is very funny! Thanks for the video. very helpful

michongoma
Автор

I know all these things but _man_ these videos are fun to watch!
Passing to all my colleagues who are less proficient in JavaScript.
_And_ sooner or later I'll learn something new, no doubt. There's always something to learn.

MaxArt
Автор

Great video 👍 I'd love to see you do something on async await. E.g. how to rewrite promises, what are the implications of using it, if/when promises are the better option still?

✌️

nut
Автор

Thanks Paul for making us smart everyday!

mmahgoub
Автор

This is so cool I clicked on that bell icon for the first time ever. THANKS for this 😀

lemaxoor
Автор

Huge actually searched for you after watching your web dairy series on chrome dev channel...

SAS-qqce
Автор

Thanks Paul for great tip! Subscribed with bell.

steadyannie
Автор

Nice video.
We could take it further and use function argument destructuring with default values.
drawRectangle({ x = 0, y = 0, w = 100, h = 100, c = "#FFF", o = 1 } = {}) {
console.log(x, y, w, h, c, o)
}
As a bonus we get better intellisense suport and autocompletion.

lukaspapay
Автор

Clever transitions with the two of you. Maybe a video on video production will be in order soon?

alexgrant
Автор

Hi paul, we miss your live coding videos, can you please make a weekly series, we learn tons from you, thank you.

mohamadtajjiou
Автор

Oh, that's a cool tip! I'm going to start using this.

greentea
Автор

Doing this in Ruby for years! Also in JS its a nice little thing which makes the code more readable.

NeoChromer
Автор

isn't it possible to put all the defaults right into function declaration?

qwiglydee
Автор

Other amazing video... you are the MAN!!!

mauroreisvieira
Автор

Could someone help me with JavaScripts for this game I play online plz I really need help?

acethomas
Автор

Great tip. Take it one step further, and add it right into the declaration: drawRectangle({x =100, y = 100}) {}

bartlewis
join shbcf.ru