class Example
constructor: ->
$.each [1, 2, 3], (key, value) ->
@test = value
return @test
render: ->
alert @test
example = new Example()
example.render()
我正在使用 CoffeeScript (+ jQuery),这是一个类示例,我将在 @test 变量中获得值 3。但这不会发生,你能帮帮我吗?