ReactiveArray
ReactiveArray copied to clipboard
Add first() and last() as convenience methods
Kindly consider seizing the opportunity to add reactive versions of two convenience methods that are missing on native arrays.
I'd be happy to send a pull request.
first: ->
@get 0 # get is already reactive
last: ->
@get @length - 1