From 66d5373736360a15e5a0a11e87c118f1109d2626 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 9 Nov 2022 18:25:03 +0100 Subject: [PATCH] test push --- calcu.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/calcu.html b/calcu.html index 894652f..c74538a 100644 --- a/calcu.html +++ b/calcu.html @@ -354,19 +354,19 @@ const n = chiffre_num_2[i + 1] - for (let i = 0; i < symbb_2.length; i++) { - const s = symbb_2[i] - const n = chiffre_num_2[i + 1] + // for (let i = 0; i < symbb_2.length; i++) { + // const s = symbb_2[i] + // const n = chiffre_num_2[i + 1] - if (s === "+") { - console.log(previous, s) - previous = previous + n - } else if (s === "-") { - console.log(previous, s, n) - previous = previous - n - } - } - console.log(previous) + // if (s === "+") { + // console.log(previous, s, n) + // previous = previous + n + // } else if (s === "-") { + // console.log(previous, s, n) + // previous = previous - n + // } + // } + // console.log(previous) // info : les mult &div sont fonctionnels, les prios aussi. Mais la liste ne // prend pas en compte la derniere valeur de la liste !