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
You can use a reversed && like so:
var a = false; var b = false; if ( !a && !b ) { // some code }