Closed zloirock closed 4 weeks ago
Yes, that was my mistake. We have https://github.com/tc39/proposal-upsert/pull/61 open to fix this up, if you have some time, please have a quick look and see if this addresses your concerns.
Sorry, I missed this PR. It seems it's fixed here.
Since steps
3.b
and3.c
in the loop and they work with existent entry, in case the first map entry key is not something that we search, the value of this entry will be replaced to passed.Something like