I'm using array destructing in coffeescript and it working properly:
[first, second, third] = [1, 2, 3]
console.log "First:" + first, "Second:" + second, "Third:" + third
[, second, third] = [1, 2, 3]
console.log "Second:" + second, "Third:" + third
I just find how to do this. This can be done with expansion operator:
[..., second, third] = [1, 2, 3]
console.log "Second:" + second, "Third:" + third