Print like a professional, you're not a little boy anymore.
f you don’t pass any arguments into the function, apply() and call() behave exactly the same way. But in a function that accepts args, apply() and call() are slightly different. Let’s modify our getThis() function so it accepts two arguments. One is a name, and the other a saying. With apply() and call(), we take our default function getThisWithArgs() and first pass in the chosen ‘this’ value, and then second pass in our arguments.
Business Process Services
Rethink your work and make your business future-proof