有谁知道在 JavaScript 中模拟 NOR 门的方法吗?
https://en.wikipedia.org/wiki/NOR_gate
从我到目前为止所看到的来看,该语言只有 AND 和 OR。
那么最简单的方法:!(a || b)
!(a || b)