zig.com Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Assignment</h1>
<h2>Division Assignment</h2>
<h2>The /= Operator</h2>
<p>x = 10 and y = 5, calculate x /= y:</p>
<p id="demo"></p>
<script>
  let x = 10;
  let y = 5;
  x /= y;
  document.getElementById("demo").innerHTML = "Value of x is: " + x;
</script>
</body>
<!-- /jsref/tryit.asp?filename=tryjsref_oper_divequal Thu, 06 Feb 2025 18:35:46 GMT -->
</html>