JAVASCRIPT · ОСНОВЫ · LESSON 18
Item with properties
Object · about 12 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Type an example manually. Check the names, brackets and signs.
const dog = { name: "Бим", age: 3 };
console.log(dog.name);Open the editor for class workSolve it yourself
Create const pet as an object with the properties of name: «Кот» and age:4. Take out pet.age.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework