Front End Programmer Question:

Tell me what is the difference between call and apply?

Tweet Share WhatsApp

Answer:

apply lets you invoke the function with arguments as an array. call requires the parameters to be listed explicitly. Also, check out this stackoverflow answer.

Download Front End Developer PDF Read All 67 Front End Developer Questions
Previous QuestionNext Question
Explain the difference between visibility:hidden; and display:none?Explain what is the difference between a prototype and a class?