• Home
  • Raw
  • Download

Lines Matching refs:every

24 This test checks the behavior of the every() method on Array objects.
30 PASS [12, 5, 8, 130, 44].every(isBigEnough) is false
31 PASS [12, 54, 18, 130, 44].every(isBigEnough) is true
34 PASS [12, 5, 10, 130, 44].every(isBigEnough, predicate) is false
35 PASS [12, 54, 18, 130, 44].every(isBigEnough, predicate) is true
40 PASS [12, 5, 8, 130, 44].every(isBigEnoughAndPop) is false
41 PASS [12, 54, 18, 130, 44].every(isBigEnoughAndPop) is true
44 PASS [12, 5, 8, 130, 44].every(isBigEnoughAndChange) is false
45 PASS [12, 54, 18, 130, 44].every(isBigEnoughAndChange) is false
48 PASS [12, 5, 8, 130, 44].every(isBigEnoughAndPush) is false
49 PASS [12, 54, 18, 130, 44].every(isBigEnoughAndPush) is false
52 PASS [12, 5, 8, 130, 44].every(isBigEnoughAndException) threw exception exception from function.
53 PASS [12, 54, 18, 130, 44].every(isBigEnoughAndException) threw exception exception from function.
56 PASS [12, 5, 8, 130, 44].every(5) threw exception TypeError: 5 is not a function.
57 PASS [12, 5, 8, 130, 44].every('wrong') threw exception TypeError: wrong is not a function.
58 PASS [12, 5, 8, 130, 44].every(new Object()) threw exception TypeError: #<Object> is not a function.
59 PASS [12, 5, 8, 130, 44].every(null) threw exception TypeError: null is not a function.
60 PASS [12, 5, 8, 130, 44].every(undefined) threw exception TypeError: undefined is not a function.
61 PASS [12, 5, 8, 130, 44].every() threw exception TypeError: undefined is not a function.
64 PASS [12, 5, 8, 130, 44].every(isBigEnoughShortCircuit) is false
66 PASS [12, 54, 18, 130, 44].every(isBigEnoughShortCircuit) is true
70 PASS arr.every(isNotUndefined) is true
71 PASS arr.every(isNotUndefined) is true