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

Special-case new Array() and new Object #96

Open
vendethiel opened this issue Apr 26, 2022 · 0 comments
Open

Special-case new Array() and new Object #96

vendethiel opened this issue Apr 26, 2022 · 0 comments

Comments

@vendethiel
Copy link

Hi,

Would it possible to special-case new Array / new Array() and new Object/new Object() to respectively be equal to [] and {}?
I'm just using a grep pre-pass for now which is fine, but since those are the same in JS, I think it'd be nice if they were recognized.

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

No branches or pull requests

1 participant