Update unpack.js

two functions for destructuring array values.