(array, value)
| 38 | } |
| 39 | |
| 40 | function arrayIncludes (array, value) { |
| 41 | for (let i = 0; i < array.length; i++) { |
| 42 | if (array[i] === value) { |
| 43 | return true |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | return false |
| 48 | } |
| 49 | |
| 50 | function appendConnectionHeaderTokens (headersToRemove, connectionHeader) { |
| 51 | const values = Array.isArray(connectionHeader) ? connectionHeader : [connectionHeader] |
no outgoing calls
no test coverage detected