結果 : check if object empty javascript