Re Proposal: Add Map.prototype.putIfAbsent

Jack Lu jacklu at jacklu.me
Fri Oct 12 01:57:11 UTC 2018


It makes sense for a `put` to return the value, but it's awkward to say `put` when you want to get a value.
And I'm fond of your proposal of `put`.


More information about the es-discuss mailing list