git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

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