3 ms·
Javascript lacks the "packages" part of the mix, it uses Prototypal inheritance rather than Class based inheritance. If you squint you can view prototypal inhe
by perigrin 12y ago
Javascript lacks the "packages" part of the mix, it uses Prototypal inheritance rather than Class based inheritance.
If you squint you can view prototypal inheritance as class-based-inheritance-where-everything-is-a-singleton ... but you really need some alcohol to deal with the headache you get from squinting that much.