Map.prototype.clear method

Kris Kowal kris.kowal at cixar.com
Mon Oct 22 11:02:33 PDT 2012


On Mon, Oct 22, 2012 at 10:58 AM, Yehuda Katz <wycats at gmail.com> wrote:
> What about copying of these new data structures?

The polyfills I have also do .clone(depth_opt, memo_opt), where memo
is a map that breaks cycles and depth defaults to Infinity, 0 means
return this, and 1 is a shallow copy.

https://github.com/kriskowal/collections

Kris Kowal


More information about the es-discuss mailing list