Skip to content
This repository was archived by the owner on Feb 28, 2018. It is now read-only.
This repository was archived by the owner on Feb 28, 2018. It is now read-only.

User wants to have array literal [] to construct arrays #31

Open

Description

@nidin

What?
User wants to have array literal [] to construct arrays

How?

let triangles = [
    new Triangle(),
    new Triangle(),
    new Triangle()
];

Activity

  1. added this to the v1.0.0 milestone on Mar 31, 2017
  2. self-assigned this
    on Mar 31, 2017
  3. winksaville commented on Apr 12, 2017

    @winksaville
    Contributor

    Nice to have but v2 as you can always do it outside of initialization.

    let trinagles = [3];
    triangles[0] = new Triangle();
    triangles[1] = new Triangle();
    triangles[2] = new Triangle();

  4. nidin commented on Apr 27, 2017

    @nidin
    ContributorAuthor

    Moved to v2.0.0
    Plan is to reduce calls and do a bulk allocation for array literals.

  5. removed this from the v1.0.0 milestone on May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions