I oppose the Symbol approach. It makes code looks ugly just for adding write 
access. There is already a `.push()`, and we only need to add `.last()` or 
`.back()` to make it complete.
> From: [email protected]
> If it comes to write access,  I agree that`Symbol.last` could be another 
> handy 
> addition (it doesn't have to be an "either/or" discussion, really):
> 
> [1, 2, 3][Symbol.last]; // 3
> [1, 2, 3][Symbol.last] = 4; // 4
> [1, 2, 3].last(1); // 2

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

Reply via email to