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

Kevin Smith khs4473 at gmail.com
Wed Dec 5 10:05:23 PST 2012


Dart has a cascade operator (..) [1].  That's the Right Way to do chaining.
 We should watch how it goes in Dart before prematurely committing to this
"iffy" simulation of cascading at the API level.

- Kevin

[1]
http://www.dartlang.org/docs/spec/latest/dart-language-specification.html#h.30hsq2v14fk2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121205/277a107c/attachment.html>


More information about the es-discuss mailing list