Created
May 1, 2020 16:19
-
-
Save msacar/faa5ca8299eb754ef6a714329f9c3744 to your computer and use it in GitHub Desktop.
src/Person.js
This file contains 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
class Person { | |
constructor(name){ | |
this.name = name | |
} | |
work(){ | |
console.log(`${this.name} has no job to`) | |
} | |
} | |
export { Person } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment