gitmyhub

static-extend

JavaScript ★ 11 updated 7y ago

Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.

No plain-English explanation yet — one is being written right now. Check back in a minute.