+ 2
Why *= assignment oprator is not working???
4 odpowiedzi
+ 1
Because you used var keyword with it.
You shouldn't use var keyword for variables which were already defined.
+ 3
In the second line, don't put 'var' again...
+ 2
Don't declare x as a var twice:
var x = 5;
x *= 5;
console.log(x) //25
+ 2
Thank u all for clarifying it.☺️