Created
January 15, 2022 05:06
-
-
Save obaranovskyi/3abda10b03fdf3c00b349f23eba24c3d to your computer and use it in GitHub Desktop.
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 Employee { | |
doWork() { | |
console.log('I\'m working!'); | |
} | |
} | |
class Developer extends Employee { | |
override doWork() { | |
console.log('I\'m programming!') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment