官术网_书友最值得收藏!

Our very first CoffeeScript code

Let's open up a CoffeeScript console. We saw earlier that Node provides a console to interactively run JavaScript code. You guessed it, the CoffeeScript console works the same way, but with CoffeeScript!

coffee
coffee> subject = "World"
'World'
coffee> "Hello, #{subject}!"
'Hello, World!'

Don't worry about the syntax for now. We'll get to that soon. When you're finished, hit Ctrl + D to close the console, and take a moment to bask in the glow of a properly configured development environment.

主站蜘蛛池模板: 龙海市| 台江县| 闵行区| 呼和浩特市| 永胜县| 徐汇区| 璧山县| 棋牌| 绩溪县| 永兴县| 甘谷县| 阿拉尔市| 衡山县| 江油市| 都江堰市| 罗城| 桐庐县| 辰溪县| 潮州市| 洞头县| 珲春市| 雷山县| 巴青县| 天祝| 宽甸| 富平县| 惠水县| 龙山县| 建阳市| 巴里| 通海县| 通州市| 武川县| 岐山县| 巨鹿县| 汶川县| 长春市| 清水县| 二连浩特市| 鹿邑县| 海城市|