<html>
<body>
<h1>JavaScript Assignments</h1>
<h2>Nullish coalescing assignment</h2>
<h3>The ??= Operator</h3>
<p id="demo"></p>
<script>
let x = 100;
x ??= 5;
document.getElementById("demo").innerHTML = "Value of x is: " + x;
</script>
</body>
<!-- Mirrored from www.w3schools.com/js/tryit.asp?filename=tryjs_assign_nullish by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:06:48 GMT -->
</html>