Hi Serghei,
Just pass the -m parameter:
./qjs -m examples/hello_module.js
*Carlos Alberto Castaño*
Tecnólogo en Sistemas de Información
Movil: +34 684 275 791
Madrid - España
El mié., 14 ago. 2019 a las 16:46, Serghei Amelian (<
dmarc-noreply@xxxxxxxxxxxxx>) escribió:
Hello,
I tried to execute hello_module.js, but for some reason qjs is unable to
execute it. Import feature is not implemented yet or I'm missing something?
./qjs examples/hello_module.js
SyntaxError: expecting '('
at examples/hello_module.js:3
--
Serghei