<html>
<body>
<h1>JavaScript Operators</h1>
<h2>The [] Operator</h2>
<p>Car name is:</p>
<p id="demo"></p>
<script>
const car = {type:"Fiat", model:"500", color:"white"};
document.getElementById("demo").innerHTML = car["type"];
</script>
</body>
</html>