[].every(function (item, index, arr) { })
every search for each element, perform fallback on each element, if one of them returns false, it will finally return false
The array here has no elements, so there is no element and returns false, so it ultimately returns true
Similarly, [].some(function () {}) is also always false
[].some(function () {})
every search for each element, perform fallback on each element, if one of them returns false, it will finally return false
The array here has no elements, so there is no element and returns false, so it ultimately returns true
Similarly,
[].some(function () {})
is also always false