Update convert-array.js