Pergunta de entrevista da empresa Paytm Labs

how do bind and apply work in Javascript Functions?