ググったら即記事に。一問一答ウェブ制作あれこれブログ。
配列 for文
for i in [0..5] // TODO
for i,value of array // TODO
for key value of object // TODO