I've got 3 files: index html :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<script type="application/javascript" src="js/dtms.js"></script>
</body>
</html>
And 2 js files:
module:
export const gg = ['123', '2343', '323'];
main js:
import {gg} from "/path/main.js";
And I am getting error in chrome debugging console: Uncaught SyntaxError: Unexpected token {
How to fix?