News for hackers. Stuff that matters.
Re:QuickJS JavaScript Engine by btmills on Thursday July 11, 2019 @01:26PM (#20413487)
Try adding the `--module` flag [1]. JS now has two different grammars, script and module, and the `import` keyword is only allowed in module code.

[1] https://bellard.org/quickjs/quickjs.html#qjs-interpreter

Re:QuickJS JavaScript Engine by mstade on Thursday July 11, 2019 @02:01PM (#20413815)
Ah yes of course – thanks, works as advertised now! :o)

Really cool stuff!