Update loop-if-array.js