In our meeting, I had a question about the use of the call method when invoking a module. Why would you use call(arguments, ...) rather than just using shorthand (arguments, ...).
Is there a use case for apply() since it is a little more flexible in how you pass in arguments?
Eric,
In our meeting, I had a question about the use of the
call
method when invoking a module. Why would you usecall(arguments, ...)
rather than just using shorthand(arguments, ...)
.Is there a use case for
apply()
since it is a little more flexible in how you pass in arguments?