dusa
dusa copied to clipboard
Dusa.prototype.assert() should return the dusa instance
I'd like to allow the pattern
const iter = new Dusa(PROG).assert({ name: 'max', value: 100 }).solve();
which would be enabled if assert just returned this, much like what Array.prototype.sort does.