Array.prototype.everybeginnerconst empty = []
empty.every(x => x > 0) // β true (vacuous truth)every() returns true for empty arrays β there are no elements to violate the condition.
By mathematical convention, [].every(anything) always returns true. This is called vacuous truth β there are no elements to violate the condition.
Challenge: Implement isEveryLong(strs) that returns true if every string has length > 5. Observe that an empty array returns true.
isEveryLong(['hello world', 'goodbye']) // β true
isEveryLong(['hi']) // β false
isEveryLong([]) // β true