tc39 / proposal-flatMap

proposal for flatten and flatMap on arrays
https://tc39.github.io/proposal-flatMap
214 stars 19 forks source link

expose flatten as accessor pair on Array.prototype #66

Closed michaelficarra closed 6 years ago

michaelficarra commented 6 years ago

As an alternative to #56, @bakkot suggested we take the self-redefining accessor pair approach. This is a quick attempt at what that spec text might look like. I warn you, I was very tired while writing this.

sleepy bunny

Also, personally, I still prefer smoosh.

michaelficarra commented 6 years ago

Resolved by https://github.com/tc39/proposal-flatMap/commit/093eacc7fe0906e70f7626bf6c7d6e9dfc53cce9.