# Coffee

# 语法

  • 三元运算符
a = if true then 5 else 10
a = if false then 5 else 10
  • setTimeout
setTimeout -> 
  something param
, 1000
  • 遍历对象
for key of object

# 资料

CoffeeScript常用编程模式 (opens new window)

Last Updated: 5/14/2022, 11:38:45 AM