Usage: js [OPTION]... [FILE]... Run JavaScript FILEs on the Graal.js engine. Run an interactive JavaScript shell if no FILE nor --eval is specified. Arguments that are mandatory for long options are also mandatory for short options. Basic Options: -e, --eval CODE evaluate the code -f, --file FILE load script file --module FILE load module file --script-file FILE load script file in strict mode --print-result print the return value of each FILE --version print the version and exit --show-version print the version and continue --shared-engine run in shared polyglot engine mode Runtime options: --polyglot Run with all other guest languages accessible. --native Run using the native launcher with limited access to Java libraries (default). --jvm Run on the Java Virtual Machine with access to Java libraries. --vm.[option] Pass options to the host VM. To see available options, use '--help:vm'. --log.file= Redirect guest languages logging into a given file. --log.[logger].level= Set language log level to OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or ALL. --help Print this help message. --help:vm Print options for the host VM. --help:engine Print engine options. --help:compiler Print engine compiler options. --help:all Print all options. --version:graalvm Print GraalVM version information and exit. --show-version:graalvm Print GraalVM version information and continue execution. Languages: [id] [name] [website] js JavaScript https://www.graalvm.org/javascript/ Tools: [id] [name] [website] agentscript Agent Script coverage Code Coverage https://www.graalvm.org/tools/code-coverage/ cpusampler CPU Sampler https://www.graalvm.org/tools/profiling/ cputracer CPU Tracer https://www.graalvm.org/tools/profiling/ dap Debug Protocol Server https://www.graalvm.org/tools/dap/ heap Heap Dump heapmonitor Heap Allocation Monitor insight Insight https://www.graalvm.org/tools/graalvm-insight/ inspect Chrome Inspector https://www.graalvm.org/tools/chrome-debugger/ lsp Language Server https://www.graalvm.org/tools/lsp/ memtracer Memory Tracer https://www.graalvm.org/tools/profiling/ Use --help:[id] for component options. See http://www.graalvm.org for more information.