Skip to content

use defineProperty to declare function.#3

Open
sgtwilko wants to merge 1 commit intojsPolyfill:masterfrom
sgtwilko:fix-For(x-in-y)
Open

use defineProperty to declare function.#3
sgtwilko wants to merge 1 commit intojsPolyfill:masterfrom
sgtwilko:fix-For(x-in-y)

Conversation

@sgtwilko
Copy link

This converts the old declaration which confuses code such as for(x in y) which iterates over the array object to being declared using defineProperty which doesn't cause the issue.

Fixes #2

This converts the old declaration which confuses code such as `for(x in y)` which iterates over the array object to being declared using defineProperty which doesn't cause the issue.

Fixes jsPolyfill#2
@mitogh mitogh self-assigned this Mar 24, 2018
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

Successfully merging this pull request may close these issues.

2 participants