The Read Evaluate Print Loop (REPL)
CoffeeScript has a REPL interactive shell that analyzes expressions. You will get immediate results if you type your code in this shell. To open the REPL, execute your coffee command without any options. The REPL shell also allows you to create functions, add values to variables and analyze results. When a function is called in the Read Evaluate and Print loop, the value of the function is printed. If you assign an expression to the REPL, it will analyze and print the result of the allotted expression. Also, the REPL will print the last statement’s value if we key in a statement.
Running CoffeeScript via Browser