結果 : javascript if list is not empty