Suppose you need to know the price of the product. Print this object property to the console.
Introduction to Objects
Access to property
Report a typo
Write a program in JavaScript
let product = {
name: "Smart Clock",
price: 48.7
};
// write the code below
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.