Update 15_day_classes.md

line 114 should be like this;
Person { firstName: undefined, lastName: undefined }
pull/248/head
çağlar yurdakul 4 years ago committed by GitHub
parent 97f84bf65f
commit ea95cd4d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -111,7 +111,7 @@ console.log(person)
``` ```
```sh ```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. 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.

Loading…
Cancel
Save