> Le 25 mai 2016 à 03:29, kdex <[email protected]> a écrit : > > IMHO, the current operators `&&`, `&`, `||` ,`|` are the cleanest > implementation of `and` and `or` that I could think of.
I don’t think so: It is not ideal that the longest forms, `&&` and `||`, are by far the most current ones. But this is history that we cannot change. Having to sets of logical operators, `&&`/`||` versus `and`/`or`, **with different precedence**, is very useful in idiomatic Perl, where they are typically used to express control-flow. But much less so in idiomatic JS. —Claude _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

