Closed runspired closed 1 month ago
since Map keeps track of key-insertion order, I feel this spec should define key-order semantics for update as there are two possible outcomes:
update
I suspect the obvious choice is to maintain the current key position, but that it would be best to be explicit about it.
We're going in a different direction with this proposal that no longer includes updating, but this is a valid point to consider if we revisit the update use case in the future.
since Map keeps track of key-insertion order, I feel this spec should define key-order semantics for
update
as there are two possible outcomes:I suspect the obvious choice is to maintain the current key position, but that it would be best to be explicit about it.