Add values iterator in InstanceSet

This commit is contained in:
Zaid Abdulla committed 2016-10-24 17:30:08 -07:00
1 parent 15437361e1
commit b01f3d394e
1 file changed
+4
+4
View File
@@ -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;