[JS] ES6 Import/Export Syntax Not Working

Does repl.it support Javascript ES6's import/export syntax? For example, I'll have this line: import module from './module.js', but it'll give me a Syntax error. import { module } from './module.js' doesn't seem to work either. I've gotten this to work on other sites, so how come it doesn't work on repl.it?

You are viewing a single comment. View All
Answered by Vandesm14 [earned 5 cycles]
View Answer

@amasad what percentage of browsers need to support a feature to consider it no longer "magical"? https://caniuse.com/#search=es6%20module%20import