- Intro to NodeJS
- Intro to CoffeeScript
- Basic CoffeeScript constructs. (Variable, functions, objects)
- How to execute CoffeeScript
(0) Hello world
Output: Hello World!
Bonus: How do we test it?
(1) Echo
Input: abc
Output: Hello abc!
(2) Basic Addition
Input: "1+2"
Output: "3"
(3) Implements (-,*,/)
(4) Input from command line
Input: node calc
Output:
calc> 1 + 2
res = 3
(4) Input from REST web service