invoke function based on type node code example Example: js call and apply func.call([thisArg[, arg1, arg2, ...argN]])