Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.3, 13
-
None
-
None
Description
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:
class TestClass { getValue() { return null; } getSubmitValue() { return this.getValue()?.join(','); } }
See also:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
In NB 12.3: