回答編集履歴
1
文法の修正
test
CHANGED
@@ -22,9 +22,9 @@
|
|
22
22
|
|
23
23
|
const exTax = document.getElementById('exTax');
|
24
24
|
|
25
|
-
|
25
|
+
const total = Number(exTax.textContent.replace('円', ''));
|
26
26
|
|
27
|
-
|
27
|
+
const totalExTax = total + subTotal;
|
28
28
|
|
29
29
|
exTax.textContent = `${totalExTax}円`;
|
30
30
|
|