結果 : check if object has list of properties javascript