git ssb

0+

cel-desktop / ssb-pkg



Tree: 4c58f1c6c3ddb86a97f27f0c84681d201ef1f75f

Files: 4c58f1c6c3ddb86a97f27f0c84681d201ef1f75f / 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