how to use apply and call in typescript code example Example: js call and apply func.call([thisArg[, arg1, arg2, ...argN]])