#TIL In Javascript, there's actually one difference between "class A {...}" and "class A extends Object {...}":
Conversation
Replying to
An "extends Object" class function has all of the Object static methods (keys, getOwnPropertyNames) on it.
2
3
Replying to
(Such classes' static methods can invoke those methods via "super" if they so wish, but the utility of this is… eh.)
2
2
Replying to
speaking of utility values of "eh", I have once used an anonymous constructor:
Quote Tweet
> var desu = new (function () { this.desu = this })()
> desu.desu.desu.desu.desu.desu.desu.desu.desu.desu.desu.desu
{ desu: [Circular] }

