I'm putting together a proposal for a cascade operator like the one in dart. I 
think it fits the javascript design space quite well. The popularity of method 
chaining APIs points to this being something the javascript community wants. 
For example foo     ..a.b = c     ..d() Would be equivalent to foo.a.b = c 
foo.d() Or more accurately (obj => {     obj.a.b = c     obj.d()     return obj 
})(foo) The full proposal is here. Any thoughts? Also, how do I go about 
getting this accepted at stage 0?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to