[ 
https://issues.apache.org/jira/browse/NETBEANS-6128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Bläsing resolved NETBEANS-6128.
----------------------------------------
    Resolution: Fixed

Support for JS syntax was brought to Ecmascript Level 2022.

> JavaScript: Nullish coalescing operator
> ---------------------------------------
>
>                 Key: NETBEANS-6128
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6128
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Editor, php - Editor
>    Affects Versions: 12.5
>            Reporter: Jayce
>            Priority: Major
>         Attachments: Nullish coalescing operator.png
>
>
> Nullish coalescing operator (??) is reported as syntax error.
> {code:java}
> const foo = null ?? 'default string';
> console.log(foo);{code}
> Some ref if needed:
> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to