Created
February 27, 2020 19:30
-
-
Save omarkdev/d449ec894ab198a8f3ed675f73cf2c51 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
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