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
This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate.
if(!(a && b)) { // code }