We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236c56a commit c7197dbCopy full SHA for c7197db
2 files changed
.eslintrc.json
@@ -8,9 +8,6 @@
8
"parserOptions": {
9
"ecmaVersion": 2020
10
},
11
- "globals": {
12
- "BigInt": true
13
- },
14
"rules": {
15
"indent": [
16
"error",
JavaScript/8-compose-proto.js
@@ -8,17 +8,17 @@ function AddOnlySet(it) {
this.size = it.length;
}
-AddOnlySet.prototype.add = function (value) {
+AddOnlySet.prototype.add = function(value) {
this.set.add(value);
this.size = this.set.size;
this.emitter.emit('add', value);
};
17
-AddOnlySet.prototype.on = function (name, listener) {
+AddOnlySet.prototype.on = function(name, listener) {
18
this.emitter.on(name, listener);
19
20
21
-AddOnlySet.prototype.toString = function () {
+AddOnlySet.prototype.toString = function() {
22
return [...this.set.values()].join();
23
24
0 commit comments