MCPcopy Create free account
hub / github.com/dashnowords/imfe / _classCallCheck

Function _classCallCheck

chapter19/recorder-modified.js:32–36  ·  view source on GitHub ↗
(instance, Constructor)

Source from the content-addressed store, hash-verified

30}
31
32function _classCallCheck(instance, Constructor) {
33 if (!(instance instanceof Constructor)) {
34 throw new TypeError("Cannot call a class as a function");
35 }
36}
37
38var Recorder = exports.Recorder = (function () {
39 function Recorder(source, cfg) {

Callers 2

RecorderFunction · 0.85
InlineWorkerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected