Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
12.0, 12.4, 12.5
-
None
-
Windows 10
Java 13
Chrome Version 84.0.4147.89 (Official Build) (64-bit)
Description
Javascript dynamic import shows error on "import" statement yet runs fine in Chrome browser
Possible duplication of NETBEANS-4597 - not sure
Documentation reference to MDN is https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
Netbeans Project properties - JavaScript - ECMAScript set to 7 and then to 6 - no effect.
Script source code:
async function importTest()
{ const
= await import('./app/WebSockets.js');
}
Attachments
Issue Links
- duplicates
-
NETBEANS-4597 JavaScript import() command shows up as an error in the IDE.
- Closed