47 ms·
That's the point of prototypes -- they give you the power to do OOP in any way you want to do it. You manually write the procedures to do inheritance through pr
by goldenkey 4y ago
That's the point of prototypes -- they give you the power to do OOP in any way you want to do it. You manually write the procedures to do inheritance through prototype manipulation and generation.
See https://www.crockford.com/javascript/inheritance.html https://www.crockford.com/javascript/inheritance.html