Skip to content

Conversation

@kravets-levko
Copy link
Contributor

Change condition in polyfill. hasOwnProperty still returns true if property is available but its value is undefined. Also, the condition contained typo. Instead, explicitly check if ArrayConstructor.prototype.at is a function.

Signed-off-by: Levko Kravets <levko.ne@gmail.com>
@kravets-levko kravets-levko merged commit 9913384 into main Apr 29, 2024
@kravets-levko kravets-levko deleted the fix-polyfill branch April 29, 2024 16:03
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.

3 participants