-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
each-in breaks for getters and keys with dots #17927
Comments
Duplicate of #17529, would you mind chiming in over there? |
The second item (the one that is talking about
tldr; Changing your demo to: const getter = Object.create(Object.prototype, {
foo: {
enumerable: true,
get: function () {
return 'bar';
}
}
}); Works perfectly 😸. |
defineProperties
, the property is ignored.Whatever version ember-twiddle uses (3.4.3 I think) doesn't have the dot key problem, but it does have the getter problem: https://ember-twiddle.com/306025f713fe62a25bf8eb61dafc5e1d
Reproduction on 3.9 that has both problems: asakusuma/each-in-getter-repro@bd2dab3
The text was updated successfully, but these errors were encountered: