completed arrays.js