Chore(Quest01/objects-around): Modified case"

This commit is contained in:
Oumaima Fisaoui 2024-08-08 09:33:21 +01:00 committed by zanninso
parent 5ac6fc8b4e
commit d35b2015d3
1 changed files with 4 additions and 4 deletions

View File

@ -101,11 +101,11 @@ console.log(adjustedWeight); // Logs the adjusted weight
#### Task 1:
Let's declare a variable `MyRobot` which has an object as its value with 3 properties:
Let's declare a variable `myRobot` which has an object as its value with 3 properties:
1. A `name` property of the robot's name as a String
2. An `age` property of the robot's age as a Number
3. A `hasEnergy` property as a Boolean indicating if the robot has dangerous features
1. A `name` property of ``myRobot``'s name as a String
2. An `age` property of ``myRobot``'s age as a Number
3. A `hasEnergy` property as a Boolean indicating if ``myRobot`` has dangerous features
#### Task 2: