arcturo/library — Issue #42: Coffeescript Chapter 2 Syntax
Author: fourcels
Created: 2012-02-06 15:43:51+00:00
State: open

```coffee
trigger = (events...) ->
events.splice(1, 0, this)
this.constructor.trigger.apply(events)
```

when I invoke trigger(1, 2, 3)

it will raise exception:
TypeError: Cannot call method 'apply' of undefined