willtheorangeguy / willtheorangeguy.github.io

Require rest parameters instead of arguments JS-0244
Anti-pattern
Minor
5 months ago6 months old
3663    se = (function (t) {
3664      var e, n;
3665      function o() {
3666        return t.apply(this, arguments) || this;3667      }
3668      (n = t),
3669        ((e = o).prototype = Object.create(n.prototype)),
2174      function t(e, n) {
2175        var i = this,
2176          o =
2177            arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};2178        V(this, t),
2179          (this.scheduleUpdate = function () {
2180            return requestAnimationFrame(i.update);
2174      function t(e, n) {
2175        var i = this,
2176          o =
2177            arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};2178        V(this, t),
2179          (this.scheduleUpdate = function () {
2180            return requestAnimationFrame(i.update);
1646    ],
1647    Tt = Et.slice(3);
1648  function Ct(t) {
1649    var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],1650      n = Tt.indexOf(t),
1651      i = Tt.slice(n + 1).concat(Tt.slice(0, n));
1652    return e ? i.reverse() : i;
1646    ],
1647    Tt = Et.slice(3);
1648  function Ct(t) {
1649    var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],1650      n = Tt.indexOf(t),
1651      i = Tt.slice(n + 1).concat(Tt.slice(0, n));
1652    return e ? i.reverse() : i;