0

Assignment Operators

how exactly would these be applied

18th Jul 2017, 5:47 PM
David
David - avatar
3 Réponses
+ 1
It is used to assign values to variables. Ex var a = 10; = is the assignment operator used to assign value 10 to a.
18th Jul 2017, 5:52 PM
G.S.N.V. Suraj
G.S.N.V. Suraj - avatar
0
By using Assignment operators we can assign values to a variable. For example:- var no=15;
18th Jul 2017, 6:46 PM
Jonty Bamrah
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...
18th Jul 2017, 7:06 PM
Вап