Composition over Inheritance
Mattias Petter Johansson
1.95K16

How does this go together with the V8 optimizer? There is a lot of sources that tell you that the optimizer can’t optimize objects that changes properties outside the constructor.