Skip to content

_.chunk not working as excepted #195

Open
@dermellor

Description

@dermellor

The following statement

_.chunk(["one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve"],3,"-")

returns an array with 5 arrays, where the last one contains one item with the padding ("-"). This is obviously incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    after modulesThis should be postponed until after modularization (temporary label, see #220)bugdocsquestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions