Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
using object to convert from vocab to defenition solution in Clear category for Boolean Algebra by lolucky
function boolean(x: number, y: number, action: string): number {
return {
"conjunction": x&&y,
"disjunction": x||y,
"implication":!x||y,
"exclusive" : x!=y,
"equivalence": x==y
}[action];
}
July 4, 2020