Skip to content

"For convenient iteration via for in, ..."? #4

@tddyco

Description

@tddyco

ls and find return objects (e.g. { 'file1':null, 'dir1/file2':null, ...}), supposedly for convenience. Sure, it's nice when you're doing a for in, but I'm not sure why you would. This is V8 we're talking about, why not use arrays since we have access to the full set of ES5 iteration and accessor methods? (e.g. forEach, filter, map, reduce, indexOf)

I'd be happy to submit a pull request if there is a desire for one :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions