File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 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
582582let x = 5;
583583let y = 10;
584584
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
589586console.log(x); // Output: 15
590587
591- x -= y; // x = x - y (x is now 5)
588+ x -= y; // x = x - y
592589console.log(x); // Output: 5
593590
594- x *= y; // x = x * y (x is now 50)
591+ x *= y; // x = x * y
595592console.log(x); // Output: 50
596593
597- x /= y; // x = x / y (x is now 5)
594+ x /= y; // x = x / y
598595console.log(x); // Output: 5
599596
600- x %= y; // x = x % y (x is now 5)
597+ x %= y; // x = x % y
601598console.log(x); // Output: 5
602599
603- x * *= y; // x = x ** y (x is now 9765625)
600+ x **= y; // x = x ** y
604601console.log(x); // Output: 9765625
605602
606- x : y; // x = y (x is now 10)
603+ x = y; // x = y
607604console.log(x); // Output: 10
608605```
609606
You can’t perform that action at this time.
0 commit comments