Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4677

Nullish coalescing operator (??) in JavaScript reported as an error in NetBeans.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 12.0.1
    • None
    • javascript - Editor

    Description

      The following code is showing as an error in the IDE when it has a valid syntax in JavaScript:

       

      let myVariable = null ?? 'hello world';

       

       
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Goliath Nghia Nguyen
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: