MSL Mock Contest

JavaScript (SpiderMonkey)

Compiler settings

We use js102 JavaScript-C102.15.1 to compile your program with the following command:

$ js102 -c {files}

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

Runtime settings

We use js102 JavaScript-C102.15.1 to run your program with the following command:

$ js102 '{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