質問編集履歴
1
JavaScriptに編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
const items = []
|
49
49
|
item1.forEach((item1)=>{
|
50
50
|
item2.forEach((item2)=>{
|
51
|
-
let total
|
51
|
+
let total = parseFloat(item1) + parseFloat(item2)
|
52
52
|
items.push(total)
|
53
53
|
console.log(total)
|
54
54
|
})
|