(Map|Set|WeakMap)#set() returns `this` ?

Jason Orendorff jason.orendorff at gmail.com
Wed Dec 5 16:07:19 PST 2012


It does not matter what Map.prototype.set returns. Almost all call sites
will ignore the return value, just like they do in every other language.

If (like me) you have strong feelings about this that are not backed by
much more than personal taste, I suggest a brisk walk. That's what I'll be
doing.

Respectfully yours,
-j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121205/56b8d9d9/attachment.html>


More information about the es-discuss mailing list