From ea95cd4d8495bfd62054c476519c4baf14f58a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A7a=C4=9Flar=20yurdakul?= <37529684+caglary@users.noreply.github.com> Date: Sat, 22 Jan 2022 03:34:35 +0300 Subject: [PATCH] Update 15_day_classes.md line 114 should be like this; Person { firstName: undefined, lastName: undefined } --- 15_Day_Classes/15_day_classes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15_Day_Classes/15_day_classes.md b/15_Day_Classes/15_day_classes.md index 7b46328..2f01ecd 100644 --- a/15_Day_Classes/15_day_classes.md +++ b/15_Day_Classes/15_day_classes.md @@ -111,7 +111,7 @@ console.log(person) ``` ```sh -PersonĀ {firstName: undefined, lastName} +Person { firstName: undefined, lastName: undefined } ``` All the keys of the object are undefined. When ever we instantiate we should pass the value of the properties. Let us pass value at this time when we instantiate the class.