結果 : javascript check if iterator is empty