Random Training

JavaScript (Node.js)

Compiler settings

We use node v18.13.0 to compile your program with the following command:

$ node -c {files}

  • {files} is a space-separated list of all files.

Runtime settings

We use node v18.13.0 to run your program with the following command:

$ node '{mainfile}'

  • {mainfile} is the entrypoint file (you can specify which file this is when submitting).

File Extensions

Files with any of the following file extensions will be used: .js

Additional information

Additional language-specific advice and information for many languages is available in the knowledge base