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

Symbol defines properties on Object prototype #39

Open
hotforfeature opened this issue Aug 7, 2018 · 0 comments
Open

Symbol defines properties on Object prototype #39

hotforfeature opened this issue Aug 7, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@hotforfeature
Copy link

The Symbol polyfill defines all Symbols on the object prototype, which causes unexpected results.

// returns true with polyfill.io using features=Symbol.iterator, should be false
console.log(Symbol.iterator in {}); 

Angular checks for the present on the Symbol.iterator property instead of a non-undefined value when running change detection, which breaks when using polyfill.io.

@JakeChampion JakeChampion transferred this issue from polyfillpolyfill/polyfill-service Jan 23, 2019
@JakeChampion JakeChampion added bug Something isn't working help wanted We'd appreciate some help with this labels Apr 3, 2019
@JakeChampion JakeChampion removed the help wanted We'd appreciate some help with this label Jan 24, 2020
@chee chee added this to incoming in Origami ✨ Feb 1, 2020
@robertboulton robertboulton removed this from Backlog in Origami ✨ Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants