SyntaxError: import declarations may only appear at top level of a module
[deleted]

I'm making a js library like p5.js when I run the repl it says
SyntaxError: import declarations may only appear at top level of a module

You are viewing a single comment. View All
Answered by firefish (953) [earned 5 cycles]
View Answer
dolphin30 (0)

wow, add me to it