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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Man Hoang

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`.

 


_______________________________________________
es-discuss mailing list
[hidden email]
https://mail.mozilla.org/listinfo/es-discuss