3 ms·
but it has prototypal inheritance, which is an equally valid inheritance scheme, which allows any object to act as a class. It's a pointless argument, but many
by peterbraden 15y ago
but it has prototypal inheritance, which is an equally valid inheritance scheme, which allows any object to act as a class.
It's a pointless argument, but many people like the way javascript inheritance works. Discounting it because it doesn't act how you want is not a fair judgement.
- catshirt 15y agoi am not discounting anything. i am simply suggesting i think it's fair (if not more accurate) to say javascript does not have classes.