Skip to content

Extra item in resulting Array #1

Description

@markandrus

Hi, I was testing this out and I noticed an extra item is included in the resulting Array:

$ node -v
v8.6.0
$ npm install array.prototype.flatmap
+ array.prototype.flatmap@1.1.0
$ node -e "console.log(require('array.prototype.flatmap')([1, 2, 3], a => [a]))"
[ 1, 2, 3, <1 empty item> ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions