pull/578/merge
Arash Arora 3 years ago committed by GitHub
commit b179412952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -72,7 +72,7 @@ We have created an Person class but it does not have any thing inside.
Instantiation class means creating an object from a class. We need the keyword _new_ and we call the name of the class after the word new. Instantiation class means creating an object from a class. We need the keyword _new_ and we call the name of the class after the word new.
Let us create a dog object from our Person class. Let us create a person object from our Person class.
```js ```js
class Person { class Person {
@ -243,7 +243,7 @@ console.log(person2.getFullName())
```sh ```sh
Asabeneh Yetayeh Asabeneh Yetayeh
test.js:19 Lidiya Tekle Lidiya Tekle
``` ```
### Properties with initial value ### Properties with initial value

Loading…
Cancel
Save