I would like to add that TypeScript is much better at communicating fundamental object oriented principles over JavaScript.
If you're only used to writing JS, you might not have a clear picture of how interfaces, abstract classes, access modifiers, and return types can not only simplify a design but also greatly communicate intent.
This is especially true if you are trying to learn design patterns, or understand how JS is quite different from other programming languages.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I would like to add that TypeScript is much better at communicating fundamental object oriented principles over JavaScript.
If you're only used to writing JS, you might not have a clear picture of how interfaces, abstract classes, access modifiers, and return types can not only simplify a design but also greatly communicate intent.
This is especially true if you are trying to learn design patterns, or understand how JS is quite different from other programming languages.