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

?. and ?? operators not handled by parser #59

Open
korri123 opened this issue Aug 16, 2024 · 1 comment
Open

?. and ?? operators not handled by parser #59

korri123 opened this issue Aug 16, 2024 · 1 comment

Comments

@korri123
Copy link

var i = undefined;
i?.call();
var x = i ?? 0;

This will cause a parser error. Not sure if you use a library for this that needs updating or not.

@ben-sb
Copy link
Owner

ben-sb commented Aug 29, 2024

Yes the parser is quite outdated unfortunately. Not too much I can do besides implementing the features myself/rewriting the project which I don't have time for currently.

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

2 participants