jsadvent/lib/_pollute/set.js
2020-12-10 02:33:00 -06:00

10 lines
180 B
JavaScript

const Glib = require('../glib');
Object.defineProperty(Set.prototype, 'glib', {
enumerable: false,
configurable: false,
get() {
return Glib.fromIterable(this);
},
});