![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
coffeeScript
playddt
这个作者很懒,什么都没留下…
展开
-
WebStrom快捷键
Alt+回车 导入包,自动修正 Ctrl+N 查找类 Ctrl+Shift+N 查找文件 Ctrl+Alt+L 格式化代码 Ctrl+Alt+O 优化导入的类和包 Alt+Insert 生成代码(如get,set方法,构造函数等) Ctrl+E或者Alt+Shift+C 最近更改的代码 Ctrl+R 替换文本 Ct原创 2013-12-11 17:44:21 · 1065 阅读 · 0 评论 -
CoffeeScript for循环处理
# for(i = 1; i x for x in [1..10] # => [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] # 每次循环递增2 # for(i=1; i x for x in [1..10] by 2 # => [ 1, 3, 5, 7, 9 ] # 执行一个求每项平方的简单运算 x * x for x in [1..10] # = > [1,4,9,16原创 2013-12-11 16:28:21 · 4160 阅读 · 0 评论