Result Size: 625 x 664
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Operators</h1>
<h2>The delete Operator</h2>
<p>After deleting the color property, myCar.color is:</p>
<p id="demo"></p>
<script>
const myCar = {type:"Fiat", model:"500", color:"white"};
delete myCar.color;
document.getElementById("demo").innerHTML = myCar.color;
</script>
</body>
</html>