(element, index, array)
| 1 | function startsWithLetterA(element, index, array) { |
| 2 | if (element.startsWith('a')) { |
| 3 | return element; |
| 4 | } |
| 5 | } |
| 6 | var cuteNames = ['jeff', 'marc', 'addy', 'francois']; |
| 7 | |
| 8 | cuteNames.find(startsWithLetterA); // "addy" |
nothing calls this directly
no outgoing calls
no test coverage detected