/ Published in: JavaScript
Expand |
Embed | Plain Text
Array::remove = (from, to) -> rest = @slice (to || from) + 1 || @length @length = if from < 0 then @length else from return @push.apply(this, rest)
You need to login to post a comment.
