class Example
constructor: ->
$.each [1, 2, 3], (key, value) ->
@test = value
return @test
render: ->
alert @test
example = new Example()
example.render()
I'm using CoffeeScript (+ jQuery) and this is an class example where I would get the value 3 in @test variable. But this does not happen, can you help me?