The += operator

PHOTO EMBED

Tue Dec 01 2020 08:50:38 GMT+0000 (Coordinated Universal Time)

Saved by @Amna #javascript

<!DOCTYPE html>
<html>
<body>
​
<h2>The += Operator</h2>
​
<p id="demo"></p>
​
<script>
var x = 10;
x += 5;
document.getElementById("demo").innerHTML = x;
</script>
​
</body>
</html>
​
content_copyCOPY

https://www.w3schools.com/js/tryit.asp?filename