JavaScript WTF: Why does every() return true for empty arrays? How can a condition be satisified when there aren't any values to test? The core of the JavaScript language is large enough that it’s easy to misunderstand how certain parts of it work. I was recently refactoring some code that used the every() method and discovered I didn’t actually understand the logic behind it. In my mind, I was as

