filmov
tv
Logical assignment operators JAVASCRIPT NEW FEATURES ES2021
![preview_player](https://i.ytimg.com/vi/Fq-ewX2Ma50/maxresdefault.jpg)
Показать описание
JavaScript new features are introduced yearly. The latest version ES2021 introduces logical assignment operators. We will learn JavaScript's cool new features for this year but first, if you have not heard of them yet, they are JavaScript's new way of assigning values to variables conditionally. They are basically what you get if you combine logical operators and assignment in JavaScript.
There are three different logical assignment operators, the logical and assignment operator, the logical or assignment operator and the nullish coalescing assignment operator. In this video we will learn about all three of them and we will see how they can be used to help us write cleaner JavaScript code.
If you don't know how to use the logical assignment operators yet, make sure to watch the whole video as we build upon each one of the logical assignment operators, and see how what their differences are. If you have already heard of them, feel free to use the timestamps below to watch about a specific logical assignment operator.
00:00 Learn logical assignment operators in JavaScript - intro
00:55 List of logical assignment operators
01:29 Logical and assignment operator (&&=)
02:18 Logical or assignment operator (||=)
02:57 Nullish coalescing assignment operator (??=)
03:43 Personal opinion about this new JavaScript feature
04:25 Learn JavaScript new features - outro
--------------------------------
Do you want to learn how to create your own mobile app using react native? Get 14 days free on Skillshare and watch it all you like!
--------------------------------
Subscribe for more JavaScript and web development tips and tricks
--------------------------------
Let's connect
--------------------------------
#javascript #webDeveloper #ES2021 #javascriptDeveloper ---
There are three different logical assignment operators, the logical and assignment operator, the logical or assignment operator and the nullish coalescing assignment operator. In this video we will learn about all three of them and we will see how they can be used to help us write cleaner JavaScript code.
If you don't know how to use the logical assignment operators yet, make sure to watch the whole video as we build upon each one of the logical assignment operators, and see how what their differences are. If you have already heard of them, feel free to use the timestamps below to watch about a specific logical assignment operator.
00:00 Learn logical assignment operators in JavaScript - intro
00:55 List of logical assignment operators
01:29 Logical and assignment operator (&&=)
02:18 Logical or assignment operator (||=)
02:57 Nullish coalescing assignment operator (??=)
03:43 Personal opinion about this new JavaScript feature
04:25 Learn JavaScript new features - outro
--------------------------------
Do you want to learn how to create your own mobile app using react native? Get 14 days free on Skillshare and watch it all you like!
--------------------------------
Subscribe for more JavaScript and web development tips and tricks
--------------------------------
Let's connect
--------------------------------
#javascript #webDeveloper #ES2021 #javascriptDeveloper ---
Комментарии