回答編集履歴

1

プロパティ名なので'id'に変更

2019/01/28 05:23

投稿

miyabi-sun
miyabi-sun

スコア21158

test CHANGED
@@ -94,6 +94,6 @@
94
94
 
95
95
  ```JavaScript
96
96
 
97
- const result = _.uniqBy([...member1, ...member2], it => it.id);
97
+ const result = _.uniqBy([...member1, ...member2], 'id');
98
98
 
99
99
  ```