Hello world in Coffee Script
This example will show how to print a hello world
in the coffee script.
- Create a new file called
helloworld.coffee
. - Add the following code and save it.
helloworld.coffee
console.log("Hello, World!")
- Execute this code by using
coffee helloword.coffee
.
It will print a Hello, World!
to the console.