Add values iterator in InstanceSet
This commit is contained in:
1 parent
15437361e1
commit
b01f3d394e
1 file changed
+4
@@ -119,6 +119,10 @@ class InstanceSet {
|
|||||||
forEach(callback) {
|
forEach(callback) {
|
||||||
return this.set.forEach(callback);
|
return this.set.forEach(callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
values() {
|
||||||
|
return this.set.values();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = InstanceSet;
|
module.exports = InstanceSet;
|
||||||
Reference in new issue
Block a user