Skip to content

Subclassing Array #106

@backspaces

Description

@backspaces

I realize subclassing Array in the past was a no-no, but it works perfectly well with CoffeeScript, and has been quite useful and performant.

Is there a way 6to5 could allow subclassing Array (and other built-ins?). NOT at the cost of the beautiful code generation .. but if its just that browser foo doesn't support, I'd be OK with that. And as I recall, es6 explicitly says we can subclass builtins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions