JavaScript Class ES6 Lösung Rectangle
It’s easier to optimize correct code than to correct optimized code.
Joshua Bloch