結果 : check if object has empty values javascript