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

The __proto__ of a CoffeeScript class isn't the base class #41

Open
provegard opened this issue May 24, 2017 · 1 comment
Open

The __proto__ of a CoffeeScript class isn't the base class #41

provegard opened this issue May 24, 2017 · 1 comment

Comments

@provegard
Copy link
Owner

Investigate if this is ok or wrong!

Given:

class Base
class Sub extends Base

...inspecting the properties of a Sub instance shows the proto property to be named Sub as well. That in turn has Base as proto.

@provegard
Copy link
Owner Author

Chrome does this:

image

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

1 participant