JS ACCESSING OBJECT PROPERTIES EXAMPLE
Run
<!doctype html>
	<head>
		<title>JS Accessing Object Property</title>
	</head>
	<body>
		<!-- HTML body -->
		<script>
			/* JS comes here */
            let mobile = {         
                name: "Samsung",
                color: "black",
                price: 40000      
            };

            // Accessing property
            document.write(mobile.name);
            document.write("<br>"+mobile.color);
		</script>
	</body>
</html>