Hi, Let’s discuss the most asked question in the interviews…
First thing call & apply are very similar there is only one difference between them which is the way we pass the arguments.
Call & apply Use to invoke a function directly by passing in the reference which points to the
thisvariable in the method.
Bind creates a new function with a given
this value, and returns that function without executing it.
Let’s discuss this by code so we will create an object with some properties and function.