Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
!&|^ what else? ☕ solution in Clear category for [old] Boolean Algebra by vincent.tscherter
const ops = {
conjunction: (x, y) => x & y,
disjunction: (x, y) => x | y,
implication: (x, y) => !x | y,
exclusive: (x, y) => x ^ y,
equivalence: (x, y) => x == y,
}
const boolean = (x, y, operation) => +ops[operation](x, y)
May 16, 2019