摘要: 今天上午发生的事情让我哭笑不得, 写下来让大家也乐乐. 上午看了 coffeeScript 其中被编译的一段代码让我产生了兴趣:var numbers, _ref;numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];[].splice.apply(numbers, [3, 4].concat(_ref = [-3, -4, -5, -6])), _ref; result --- > 我主要是针对 "[].splice.apply(numbers, [3, 4].concat(_ref = [-3, -4, -5, -6]))" 做了测试. 阅读全文
posted @ 2012-12-06 14:53 Enein 阅读(2270) 评论(6) 推荐(0)