git ssb

0+

cel-desktop / ssb-pkg



Tree: d456a6cc8589489e558e6164750474ed2cfc961e

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