How to use the apply function from debug

Find comprehensive JavaScript debug.apply code examples handpicked from public code repositorys.

8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
  }

  _debug () {
    var args = [].slice.call(arguments);
    args[0] = '[' + this._id + '] ' + args[0];
    debug.apply(null, args);
  }
}

Peer.WEBRTC_SUPPORT = !!getBrowserRTC();
fork icon0
star icon0
watch icon2