Closed ExE-Boss closed 3 years ago
I realised while working on https://github.com/jsdom/webidl2js/pull/242 that in https://github.com/jsdom/webidl2js/pull/234, the AsyncIterator subclass is created wrongly, because the object that should be passed to Object.assign is instead accidentally passed as an excess parameter to Object.create.
AsyncIterator
Object.assign
Object.create
This also makes it use utils.define now that it exists as of https://github.com/jsdom/webidl2js/pull/226.
utils.define
I realised while working on https://github.com/jsdom/webidl2js/pull/242 that in https://github.com/jsdom/webidl2js/pull/234, the
AsyncIterator
subclass is created wrongly, because the object that should be passed toObject.assign
is instead accidentally passed as an excess parameter toObject.create
.This also makes it use
utils.define
now that it exists as of https://github.com/jsdom/webidl2js/pull/226.