Closed bevacqua closed 7 years ago
From reading the spec, currently FlattenIntoArray doesn't default to target as the this argument in .flatMap(fn).
FlattenIntoArray
target
this
.flatMap(fn)
No, it should default to undefined, causing the this value of the mapper function to be the global object. This is the same behaviour as Array.prototype.map. Closing.
undefined
Array.prototype.map
From reading the spec, currently
FlattenIntoArray
doesn't default totarget
as thethis
argument in.flatMap(fn)
.