GlobalLogic interview question

How you will create your own call, apply and bind function.