0
Assignment Operators
how exactly would these be applied
3 Answers
+ 1
It is used to assign values to variables.
Ex var a = 10;
= is the assignment operator used to assign value 10 to a.
0
By using Assignment operators we can assign values to a variable.
For example:-
var no=15;
0
var x = 10; // assigns a value to a variable
var x += 10; // adds a value to a variable
var x -= 10; // subtracts a value from a variable
var x *= 10; // multiples a variable
var x /= 10; // divides a variable
even with bitwise operators and so one...