[ https://issues.apache.org/jira/browse/NETBEANS-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
PetitBoeuf updated NETBEANS-5496: --------------------------------- Attachment: error.jpg > Optional chaining (?.) support > ------------------------------ > > Key: NETBEANS-5496 > URL: https://issues.apache.org/jira/browse/NETBEANS-5496 > Project: NetBeans > Issue Type: New Feature > Components: editor - Parsing & Indexing > Affects Versions: 12.3, 13 > Reporter: Maciej Jaros > Priority: Major > Attachments: error.jpg, image-2021-03-25-15-33-58-344.png > > > Optional chaining is supported by all major browsers. Please add support for > it in Netbeans. > Currently NB shows "Expected operand" error and other things might brake in > the file too. > Example: > {code:java} > class TestClass { > getValue() { > return null; > } > getSubmitValue() { > return this.getValue()?.join(','); > } > }{code} > See also: > [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining] > > In NB 12.3: > !image-2021-03-25-15-33-58-344.png! -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists