findElement([1, 3, 5, 8, 9, 10], function(num) { return num % 2 === 0; })
should return 8.
testString: assert.strictEqual(findElement([1, 3, 5, 8, 9, 10], function(num) { return num % 2 === 0; }), 8, 'findElement([1, 3, 5, 8, 9, 10], function(num) { return num % 2 === 0; })
should return 8.');
- text: findElement([1, 3, 5, 9], function(num) { return num % 2 === 0; })
should return undefined.
testString: assert.strictEqual(findElement([1, 3, 5, 9], function(num) { return num % 2 === 0; }), undefined, 'findElement([1, 3, 5, 9], function(num) { return num % 2 === 0; })
should return undefined.');
```