This is the 6th continuation video of the JavaScript Tutorial Series. In the previous video, we discussed Arithmetic Operators; now, we will take a deep look into the Assignment and Specially Arithmetic Assignment Operators.
Following are the Types of JavaScript Operators
-----------------------------------------------------------------------------
1. Arithmetic Operators
2. Assignment Operators
3. Comparison Operators
4. String Operators
5. Logical Operators
6. Bitwise Operators
7. Ternary Operators
8. Type Operators
When a Variable gets a value assigned to it, it is called an Assignment and by which type of Operator it is done, is called an Assignment Operator. There are many types of assignment operators.
Let us talk about Simple Assignment Operators. Simple Assignments are just like arithmetic operators but followed by Equal to “=” sing. They just work like Arithmetic Operators but whenever any arithmetic calculation is done the new value is automatically assigned to the old declared variable.
Arithmetic Assignment Operator
---------------------------------------------------
SL. Operator Symbol
1. = (Simple Assignment Operator)
2. += (Assignment with Addition)
3. -= (Assignment with Sub.)
4. *= (Assignment with Multi.)
5. /= (Assignment with Division)
6. %= (Assignment with Modulus)
7. **= (Assignment with Expo.)
Comparison Operator
-------------------------------------
Sl. No. Comparison Operators Symbol
1. == (Implicit Comparison Operator)
2. === (Explicit Comparison Operator)
3. != (Implicit Comparison Operator)
4. !== (Explicit Comparison Operator)
More...
Logical Assignment Operators
------------------------------------------------------
Sl. No. Logical Assignment Operators Symbol
1. &&= (Logical AND Assignment Operator)
2. ??= (Logical NULLISH Coalescing Assignment Operator)
3. ||= (Logical OR Shift Assignment Operator)
******************************************************
website:- https://www.progrramers.com
Facebook Page:- / theprogrramers
Instagram: / c.kumar
**************************************************
Other Websites :
https://sarkarijobs.link
На этой странице сайта вы можете посмотреть видео онлайн JS Tutorials: What are Assignment Operators in JavaScript | JS длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Progrramers 04 Октябрь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 21 раз и оно понравилось 2 зрителям. Приятного просмотра!