Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data property and class extended with Array #10298

Closed
nori3tsu opened this issue Jul 22, 2019 · 1 comment
Closed

data property and class extended with Array #10298

nori3tsu opened this issue Jul 22, 2019 · 1 comment

Comments

@nori3tsu
Copy link

Version

2.5.17

Reproduction link

https://jsfiddle.net/632dch1e/

Steps to reproduce

open link to minimal reproduction

What is expected?

Keep the type even if you set the class that extends Array to data.

What is actually happening?

Methods defined in a class that extends Array can not be used.
Also, since the class of each object of Array remains as it is, the class structure is broken.

@posva
Copy link
Member

posva commented Jul 22, 2019

Duplicate of #9259

@posva posva marked this as a duplicate of #9259 Jul 22, 2019
@posva posva closed this as completed Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants