Polymorphism in JavaScript for Backward Compatibility | CodeSignal Learn