import statement in javascript
I have html code with javascript inside a django project: <body> <-- some html> </body> <script> import fs from "fs" // some javascript </script> Now I get the error import declarations may only appear at the top level of a…