July notes: copySlice --> copyWithin ??

Brendan Eich brendan at mozilla.com
Wed Aug 14 13:49:14 PDT 2013

Rick Waldron wrote:
> copySlice/copyWithin is similar to the subset assignment operation in 
> R, eg. vec[4:6] <- vec[1:3]

Didn't know you were an R hacker :-).

> Array.prototype.subset(target = 0, start = 0, end = this.length)?

These names make my eyes itch.

I wonder if we are better off with just copy (and fill)?


More information about the es-discuss mailing list