matthiasblaesing opened a new pull request, #5694:
URL: https://github.com/apache/netbeans/pull/5694

   This PR adds support for parsing static initializer blocks:
   
   ```javascript
   class Example{
     static attrib;
     static {
      this.attrib = "exampleValue";
     }
   }
   ```
   
   and "for await ... of ..." loops:
   
   ```javascript
   async function* foo() {
     yield 1;
     yield 2;
   }
   
   (async function() {
     for await (const num of foo()) {
       console.log(num);   // expected output: 1
       break;              // closes iterator, triggers return
     }
   })();
   ```
   
   Closes: #4262
   Closes: #4757


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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