* Filter the text content of a list of elements for email addresses. * @param {NodeList } elements - A list of elements to iteralte over * @return {Array} The recipient objects in fhe form { email: 'jon@example.com' }
(elements)
| 304 | * @return {Array} The recipient objects in fhe form { email: 'jon@example.com' } |
| 305 | */ |
| 306 | function getText(elements) { |
| 307 | return parseEmail(elements, element => element.textContent); |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * Filter a certain attribute of a list of elements for email addresses. |
no test coverage detected