Closed ExE-Boss closed 1 month ago
Agree on using GetMethod, but need a consensus on eager vs lazy and to write it down somewhere per
https://github.com/tc39/proposal-upsert/issues/21#issuecomment-662480082
CC: @gibson042
Thank you for the contribution, but I'm closing this because we're moving in a different direction with the design.
This changes the algorithm to use
GetMethod
instead ofHasProperty
andGet
, which has the added benefit of treatingnull
andundefined
as absent.It also makes it so that the
insert
andupdate
properties are also always consistently[[Get]]
ted at the start.Depends on: