receptor/src/polyfills.js

11 lines
183 B
JavaScript
Raw Normal View History

2017-08-26 01:41:34 +02:00
Set.prototype.difference = function(set) {
var diff = new Set(this);
for (var v of set) {
diff.delete(v);
}
return diff;
}
// Required by ES6 spec
export const _ = null;