Skip to content

Conversation

@ota-meshi
Copy link
Member

This PR improves the allowTestedProperty option to allow more tested properties.

e.g.

x = typeof Array.from !== 'undefined' && Array.from(it) // OK
x = Array.from?.(it) // OK

@ota-meshi ota-meshi merged commit 1234e06 into master May 21, 2025
14 checks passed
@ota-meshi ota-meshi deleted the enhanced-property-guards branch May 21, 2025 08:10
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