結果 : iterate through a set in javascript