質問編集履歴
1
誤字の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
const userSkills = [ { "id": 2, "name": "スキルB" }, { "id": 5, "name": "スキルE" }, { "id": 7, "name": "スキルG" } ]
|
17
17
|
|
18
18
|
const userIDs = userSkills.map(obj => obj.id)
|
19
|
-
// [
|
19
|
+
// [ 2, 5, 7, 8, 10 ]
|
20
20
|
|
21
21
|
const unselectedSkills = allSkills.filter(function(obj) {
|
22
22
|
for ( id of this ) {
|