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

fix(prefer-primordials): allow private identifier in in expression #1308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0f-0b
Copy link
Contributor

@0f-0b 0f-0b commented Aug 13, 2024

No description provided.

@petamoriken
Copy link
Contributor

I suggested banning the in operator to enforce proper use of Reflect.has and Object.hasOwn, but in most cases Object.hasOwn was not used in Deno internal. It might be better to simply allow the in operator for DX and performance 🙇

@petamoriken
Copy link
Contributor

@lucacasonato What do you think?

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