結果 : javascript check if list is empty