From 66d5373736360a15e5a0a11e87c118f1109d2626 Mon Sep 17 00:00:00 2001 From: max Date: Wed, 9 Nov 2022 18:25:03 +0100 Subject: [PATCH 1/2] 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 ! -- 2.40.1 From 70d98fedcd21f5c7ce5a2db0918e2630b073096f Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 9 Nov 2022 17:32:56 +0000 Subject: [PATCH 2/2] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'calcu.html'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calcu.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/calcu.html b/calcu.html index c74538a..e279425 100644 --- a/calcu.html +++ b/calcu.html @@ -354,8 +354,8 @@ const n = chiffre_num_2[i + 1] - // for (let i = 0; i < symbb_2.length; i++) { - // const s = symbb_2[i] + for (let i = 0; i < symbb_2.length; i++) { + const s = symbb_2[i] // const n = chiffre_num_2[i + 1] // if (s === "+") { @@ -365,7 +365,7 @@ // console.log(previous, s, n) // previous = previous - n // } - // } + } // console.log(previous) // info : les mult &div sont fonctionnels, les prios aussi. Mais la liste ne -- 2.40.1