jsadvent/lib/_pollute/set.js

10 lines
180 B
JavaScript
Raw Permalink Normal View History

2020-12-10 08:33:00 +00:00
const Glib = require('../glib');
Object.defineProperty(Set.prototype, 'glib', {
enumerable: false,
configurable: false,
get() {
return Glib.fromIterable(this);
},
});