Use `len` for length var in array iteration