willtheorangeguy / Note-Style-Guide

Unnecessary calls to .call() and .apply() found JS-0095
Anti-pattern
Minor
5 months ago2 years old
 9478      progressIndicatorMethod in this &&
 9479      typeof this[progressIndicatorMethod] === "function"
 9480    ) {
 9481      this[progressIndicatorMethod].call(this); 9482    }
 9483  };
 9484
 1798          ? i.call(e, t, n)
 1799          : t.apply(void 0, [e].slice(r));
 1800    } catch (e) {
 1801      n.apply(void 0, [e]); 1802    }
 1803  }
 1804  (S.Callbacks = function (r) {
 1798          ? i.call(e, t, n)
 1799          : t.apply(void 0, [e].slice(r));
 1800    } catch (e) {
 1801      n.apply(void 0, [e]); 1802    }
 1803  }
 1804  (S.Callbacks = function (r) {
 9975      progressIndicatorMethod in this &&
 9976      typeof this[progressIndicatorMethod] === "function"
 9977    ) {
 9978      this[progressIndicatorMethod].call(this); 9979    }
 9980  };
 9981
 1798          ? i.call(e, t, n)
 1799          : t.apply(void 0, [e].slice(r));
 1800    } catch (e) {
 1801      n.apply(void 0, [e]); 1802    }
 1803  }
 1804  (S.Callbacks = function (r) {