Created
August 8, 2022 03:32
-
-
Save szaranger/7b2aa0370dc434d58d96527ac6c3c545 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fucntion Person(name, dob) { | |
this.name = name; | |
this.dob = dob; | |
} | |
const john = new Person({ | |
name: 'Dr John Dollar', | |
dob: '01-08-1866' | |
}); | |
const dick = new Person({ | |
name: 'Dick Donovan', | |
dob: '01-01-1875' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment