This repository has been archived by the owner on Mar 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
functions should be enumerable #13
Comments
apparently i was mistaken... On chrome canary: class A { a() {} }
Object.getOwnPropertyDescriptor(A.prototype, 'a').enumerable // => false |
I spoke to @wycats on Twitter about this awhile back. They are supposed to be enumerable for backwards compatibility with how "classes" work in most javascript frameworks. |
Class methods are definently enumerable, no doubt about it. See babel/babel#138 and https://twitter.com/wycats/status/540893847388028929 |
Yep, you're all right. I'll address this. Thanks! |
is chrome canary wrong then, or did i screw up in my example. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: