質問編集履歴
2
タイトルの変更
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
スペルミスの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
Object.keys(obj).forEach((key) => {
|
28
28
|
|
29
|
-
console.log(`${key} : ${obj.key}`); // 「a : undefind, b : undefind, c : undefind」と出力される。
|
29
|
+
console.log(`${key} : ${obj.key}`); // 「a : undefined, b : undefined, c : undefined」と出力される。
|
30
30
|
|
31
31
|
})
|
32
32
|
|
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
|
62
62
|
|
63
|
-
と思っていたのですが、結果は「undefind」になってしまいました。
|
63
|
+
と思っていたのですが、結果は「undefined」になってしまいました。
|
64
64
|
|
65
65
|
しかし「console.log」で両記法で出力してみた結果、同じ値が帰ってきます。
|
66
66
|
|