結果 : check if field exists in object javascript