Có thể gọi phương thức từ hàm tạo trong Coffeescript không?
ví dụ:Gọi phương thức từ hàm tạo trong Coffeescript
class Animal
constructor: (@name) ->
move()
move: (meters) ->
alert @name + " moved #{meters}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
sam = new Snake "Sammy the Python"
này được tạo ra thông báo lỗi "ReferenceError: di chuyển không được định nghĩa" sau