JavaScript code is run at the console using JJS, a command-line tool. The new JavaScript engine executable in Java 8 is called JJS.