git ssb

0+

cel-desktop / ssb-pkg



Tree: cfc8d49135488f7554210234b3a503c2dbd6c6a5

Files: cfc8d49135488f7554210234b3a503c2dbd6c6a5 / 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