> Le 10 oct. 2018 à 23:17, kai zhu <[email protected]> a écrit :
> 
> hi Man, i don’t have strong opinion on Array.prototype.remove, but i have 
> strong opinion against your use-case to subclass/extend Array.  from a 
> product-development perspective, you're creating unnecessary 
> integration-headaches by having the client <-> server system pass around 
> <MyArray> instances instead of plain JSON arrays.

Not every object in JS is intended to travel between client and server, or to 
be stored in JSON. And if/when the class want to share some information, it can 
easily translate its data to and from a JSON-friendly format. (Sorry, I’m not 
motivated to read the rest of your e-mail.)

—Claude 

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

Reply via email to