fix logs comparatif JS

This commit is contained in:
Mylloon 2021-03-31 18:32:53 +02:00
parent 8ab9a4f64a
commit ec84ca5c33

View file

@ -30,7 +30,12 @@ const main = () => {
console.log("\n\n-----\n\n ");
exemple = "(a || b) || (a && b) && c"
console.log(exemple, "\n=", parseLogicalExpression(def, exemple));
console.log("vrai rep d'apres JS:", def.a || def.b || def.a && def.b && def.c || def.c);
console.log("vrai rep d'apres JS:", (def.a || def.b) || (def.a && def.b) || def.c);
/* console.log("\n\n-----\n\n ");
exemple = "(a || b) || (a || (a && b) && c) && c"
console.log(exemple, "\n=", parseLogicalExpression(def, exemple));
console.log("vrai rep d'apres JS:", (def.a || def.b) || (def.a || (def.a && def.b) && def.c) && c); */
};