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

Man Hoang jolleekin at outlook.com
Wed Oct 10 07:12:40 UTC 2018


What JS needs is a [cascade operator](https://esdiscuss.org/topic/cascade-operator). With this operator, property accessors and methods can be effectively chained without requiring methods to return `this`.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20181010/adf1c4f3/attachment.html>


More information about the es-discuss mailing list