Lobzek created NETBEANS-3948: -------------------------------- Summary: Javascript parsing error for Object.assign function Key: NETBEANS-3948 URL: https://issues.apache.org/jira/browse/NETBEANS-3948 Project: NetBeans Issue Type: Bug Components: javascript - Editor Reporter: Lobzek
Example code: {code:javascript} class Test { test(config) { this.conig = {}; Object.assign(this.config, config); } } {code} IDE marks `this` in line 4 and shows warning "The global variable "this" not declared", at the same time it shows no warning in line 3. Expected behavior: No warning should be shown, that is completely correct code. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- 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