Edit This Code:
<!DOCTYPE html>
<html>
<body>

<h1>The /= Operator</h1>

<p id="demo"></p>

<script>
var x = 10;
x /= 5;
document.getElementById("demo").innerHTML = x;
</script>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy