Simulating Method Overloading in JavaScript | CodeSignal Learn