Skip to content

Instantly share code, notes, and snippets.

@dongjinahn
Last active Mar 27, 2021
Embed
What would you like to do?
class Human {
constructor(name) {
this.name = name || null;
}
hello() {
console.log(`hello, I'm ${this.name}`);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment