tc39 / proposal-upsert

ECMAScript Proposal, specs, and reference implementation for Map.prototype.upsert
https://tc39.es/proposal-upsert/
MIT License
202 stars 14 forks source link

fix invocations of Call AO #65

Closed michaelficarra closed 2 weeks ago

michaelficarra commented 2 weeks ago

The second parameter is the receiver and third parameter is an optional arguments list. I had to choose a receiver, so I went with undefined, which also fixes #28. edit: Also fixes #63.

/cc @tc39/ecma262-editors we should make the third parameter of Call mandatory to avoid these situations