From 1ca01962d6a6a5ff7edf065c03c508b7bc4cc533 Mon Sep 17 00:00:00 2001 From: Naman Kishwan <92114546+Espio347@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:52:55 +0530 Subject: [PATCH] Update 08-day.md Fixed a Spelling Error at line -> 151 --- docs/08-day.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/08-day.md b/docs/08-day.md index a947dd2..8f24d40 100644 --- a/docs/08-day.md +++ b/docs/08-day.md @@ -148,7 +148,7 @@ An empty object const person = {} ``` -### Creating an objecting with values +### Creating an object with values Now, the person object has firstName, lastName, age, location, skills and isMarried properties. The value of properties or keys could be a string, number, boolean, an object, null, undefined or a function. @@ -391,7 +391,7 @@ console.log(copyPerson.hasOwnProperty('score')) 1. Create an empty object called dog 1. Print the the dog object on the console -1. Add name, legs, color, age and bark properties for the dog object. The bark property is a method which return _woof woof_ +1. Add name, legs, color, age and bark properties for the dog object. The bark property is a method which returns _woof woof_ 1. Get name, legs, color, age and bark value from the dog object 1. Set new properties the dog object: breed, getDogInfo