call vs apply
JavaScript
function theFunction(name, profession) {
console.log("My name is " + name + " and I am a " + profession + ".");
}
theFunction("John", "fireman");
theFunction.apply(this, ["Susan", "school teacher"]);
theFunction.call(this, "Obama", "president of the United States");