結果 : if data is empty javascript