結果 : javascript check if attribute exists in object