git ssb

0+

cel-desktop / ssb-pkg



Tree: 4c58f1c6c3ddb86a97f27f0c84681d201ef1f75f

Files: 4c58f1c6c3ddb86a97f27f0c84681d201ef1f75f / test / test-50-class-to-string / test-x-index.js

202 bytesRaw
1'use strict';
2
3const Class = class {};
4// test if Class.toString() segfaults
5// or returns incorrect value (#62)
6const cts = Class.toString();
7if (cts.indexOf('class {}') >= 0) {
8 console.log('ok');
9}
10

Built with git-ssb-web