array.length and Math.floor/abs