showgan@tg says to YSITD
i_array = i_array.map((val, i) => do_something(i)) 會出錯嗎