finished arrays.js