Created
February 27, 2020 19:30
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 User { | |
name: string = 'Marcos'; | |
changePassword(newPassword: string) { } | |
} | |
const user = new User(); | |
for (const key in user) { | |
console.log(key); | |
} | |
// name | |
// changePassword |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment