File tree 1 file changed +7
-10
lines changed
1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -582,28 +582,25 @@ console.log(cars instanceof Boolean); // Output: false
582
582
let x = 5 ;
583
583
let y = 10 ;
584
584
585
- x = y; // x = y (x is now 10)
586
- console .log (x); // Output: 5
587
-
588
- x += y; // x = x + y (x is now 15)
585
+ x += y; // x = x + y
589
586
console .log (x); // Output: 15
590
587
591
- x -= y; // x = x - y (x is now 5)
588
+ x -= y; // x = x - y
592
589
console .log (x); // Output: 5
593
590
594
- x *= y; // x = x * y (x is now 50)
591
+ x *= y; // x = x * y
595
592
console .log (x); // Output: 50
596
593
597
- x /= y; // x = x / y (x is now 5)
594
+ x /= y; // x = x / y
598
595
console .log (x); // Output: 5
599
596
600
- x %= y; // x = x % y (x is now 5)
597
+ x %= y; // x = x % y
601
598
console .log (x); // Output: 5
602
599
603
- x * *= y; // x = x ** y (x is now 9765625)
600
+ x * *= y; // x = x ** y
604
601
console .log (x); // Output: 9765625
605
602
606
- x : y; // x = y (x is now 10)
603
+ x = y; // x = y
607
604
console .log (x); // Output: 10
608
605
```
609
606
You can’t perform that action at this time.
0 commit comments