receptor/src/polyfills.js
2017-08-25 19:41:34 -04:00

11 lines
183 B
JavaScript

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;