teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

JavaScriptに編集

2020/11/19 07:37

投稿

takochan1192
takochan1192

スコア100

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:number = parseFloat(item1) + parseFloat(item2)
51
+ let total = parseFloat(item1) + parseFloat(item2)
52
52
  items.push(total)
53
53
  console.log(total)
54
54
  })