Комментарии:
This is called short-circuiting too , right ?
Ответить🔥
ОтветитьAmazing content as usual!
ОтветитьNice
ОтветитьThis is why people hate JS.
But a useful content!
Oh that's awesome
ОтветитьThanks
Ответитьa &&= 20 is not equals if (a) { a = 20}
a &&= 20 is equals to a = a && 20
a ||= 20 is equals to a = a || 20
a ??= 20 is equals to a = a ?? 20
Both are one-line expressions. The only problem is understanding the new operators.
I have a feeling JavaScript will soon become similar with this abbreviation
a ??= false && 240 ? true : 0 ? undefined : null
Very useful, thanks Dom!
ОтветитьNice video, thanks
ОтветитьYes it's AND and OR this logical gates are never forget to me.
Ответитьbut the code gets much harder to read and if somebody dont now this they get stuck when they maintaining your code, so use it with care....
ОтветитьWow !
Great an loved it.
Thank you ❤❤❤
Ответитьinteresting
Ответитьall green!
Ответитьwow!!!
ОтветитьThanks dude. Very helpful.
ОтветитьWhat font are you using in VS Code?
ОтветитьTHANK YOU !
ОтветитьI am Subscribed from 3 accounts
ОтветитьThanks for the explanation! I got it now
Ответить❤️❤️❤️❤️
ОтветитьJS WHY SO SERIOUS :D
const tester = 12
let foo
foo = tester === 12 && ('YES') || ('NO')
console.log(foo) // YES
thank you brother
Ответитьvery very informative Dom! Keep it up🔥
ОтветитьGood video. It deserves a like!
ОтветитьWhat's the difference between && and &&=?
Ответитьsimple and useful
thnks sir
thank you
Ответитьmuch more informative and easier to understand than the udeny course I paid for
Ответить