-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support new js proposals: optional-chaining & pipeline-operator #1530
Comments
@sfger https://github.com/tc39/proposal-optional-chaining is further along. Both would be relatively easy to add the list of operators. PR's with tests welcome. |
@bitwiseman Looks like proposal-optional-chaining has made it to stage 2! |
@theblang |
@sfger @bitwiseman I'm thinking that this issue should change to become "optional-chaining & nullish-coalescing". Both optional-chaining and nullish-coalescing are now at stage 3! But pipeline-operator is still at stage 1. |
@theblang Yes, each item should be filed as separate issue that can be tracked to completion. |
Description
Input
The code looked like this before beautification:
Current Output
The code actually looked like this after beautification:
Expected Output
The code should have looked like this after beautification:
Environment
Browser User Agent:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Language Selected:
JavaScript
Settings
Example:
The text was updated successfully, but these errors were encountered: