Does anyone know a way to simulate a NOR-gate in JavaScript?
https://en.wikipedia.org/wiki/NOR_gate
From what I have seen so far the language has only AND and OR
Always you could negate the logic or making something like this:
if(!(true || true))
this way you always going to obtain the or result negated, which really have a NOR-gate behavior.