https://stackoverflow.com/questions/2856059/passing-an-array-as-a-function-parameter-in-javascript
The answer was already given, but I just want to give my piece of cake. What you want to achieve is called method borrowing in the context of JS, that when we take a method from an object and call it