git ssb

0+

cel-desktop / ssb-pkg



Tree: ca90b5ca0579ebdcc0635288bce4978e3fb200f5

Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / test / test-50-no-super-in-constructor / test-x-index.js

294 bytesRaw
1'use strict';
2
3var events = require('events');
4var util = require('util');
5
6class UpnpService {
7 constructor () {
8 console.log('ok');
9 events.EventEmitter.call(this);
10 }
11}
12
13util.inherits(UpnpService, events.EventEmitter);
14
15const u = new UpnpService();
16if (!u) throw new Error('hello');
17

Built with git-ssb-web