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

Firefox 24 implements Map, but misses forEach on the prototype #143

Closed
crfroehlich opened this issue Sep 20, 2013 · 1 comment · Fixed by #144
Closed

Firefox 24 implements Map, but misses forEach on the prototype #143

crfroehlich opened this issue Sep 20, 2013 · 1 comment · Fixed by #144

Comments

@crfroehlich
Copy link

Despite loading the ES6 shim, FF's Map prototype is not aligned with the shim's Map prototype--at the very least, it's missing forEach.

es6 shim's defineProperties method looks correct to me, but I have not had time to properly debug it or even determine if that is the actual problem.

@ljharb
Copy link
Collaborator

ljharb commented Sep 20, 2013

We've already got https://github.com/paulmillr/es6-shim/blob/master/es6-shim.js#L835-L849 to patch Firefox < 23, so we'll use a similar technique to patch in forEach as well. Thanks!

Please open issues for all inconsistencies you find :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants