【发布时间】:2013-07-01 10:19:58
【问题描述】:
为什么我的代码没有到达包含alert 的行?
window.Game = class Game
constructor: ->
rows: 22
columns: 10
board: []
createBoard: ->
# Some code here...
for x in [0...@columns]
alert("THIS IS HERE")
# More code down here...
【问题讨论】:
标签: for-loop foreach scope coffeescript range