What does an empty array return from every when given any ordinary predicate callback?
Объяснение
every returns true for an empty array because no tested element violates the predicate, an instance of vacuous truth. Returning false would incorrectly require the array to contain at least one passing element.