The simple assignment operator is used to assign a value to a variable. The assignment operation evaluates the assigned value.
Types of Assignment Operators:
Addition Assignment: This operator adds the value to the right operand to a variable and assigns the result to the variable. The types of the two operands determine the behavior of the addition assignment operator. Addition or concatenation is possible. In case of concatenation then we use the string as an operand.
Subtraction Assignment: This operator subtracts the value of the right operand from a variable and assigns the result to the variable.
Multiplication Assignment: This operator multiplies a variable by the value of the right operand and assigns the result to the variable.
Division Assignment: This operator divides a variable by the value of the right operand and assigns the result to the variable.
Remainder Assignment: This operator divides a variable by the value of the right operand and assigns the remainder to the variable.
Exponentiation Assignment: This operator raises the value of a variable to the power of the right operand.
Assignment Operator and its Types in Hindi | JavaScript Tutorial
#javascripthindi #javascripttutorials #javascript
About Revive Coding:
====================
Revive Coding, is a place to learn web development with a practical approach. Breaking complex concepts into simple ones is my motive while creating videos, so that, you learn fast and get your dream job.
About me:
=========
I am vikash singh, Working as a MERN stack and Ruby on Rails Developer. Learning new concepts every day is my motivation and teaching is my hobby.
my youtube handle is @revivecoding
==========
My Guru Manta: THE FASTER YOU FAIL, THE FASTER YOU SUCCEED.
==========
Thanks for SUBSCRIBING "Revive Coding".
Wish You a Happy and Prosperous Life.