Skip to content

mixing directly into an array? #4

@matthewmueller

Description

@matthewmueller

It'd be really sweet to be able to do something like this:

var users = [];
enumerable(users);

var matt = {
  name : 'matt',
  age : 23
};

var jim = {
  name : 'jim',
  age : 42
};

users.push(matt, jim);

var names = users.map('name') // [ 'matt', 'jim' ]

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