fix logs comparatif JS
This commit is contained in:
parent
8ab9a4f64a
commit
ec84ca5c33
1 changed files with 6 additions and 1 deletions
|
@ -30,7 +30,12 @@ const main = () => {
|
||||||
console.log("\n\n-----\n\n ");
|
console.log("\n\n-----\n\n ");
|
||||||
exemple = "(a || b) || (a && b) && c"
|
exemple = "(a || b) || (a && b) && c"
|
||||||
console.log(exemple, "\n=", parseLogicalExpression(def, exemple));
|
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); */
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in a new issue