(phrase)
| 231 | // [2, 4, 6, 8, 10, 12] |
| 232 | |
| 233 | const howManyLetters = (phrase) => { |
| 234 | // counter |
| 235 | let result = 0; |
| 236 | |
| 237 | for (const index in phrase) { |
| 238 | console.log(Number(index) + 1) |
| 239 | result = Number(index) + 1 |
| 240 | } |
| 241 | |
| 242 | return { result } |
| 243 | } |
| 244 | |
| 245 | // const phrase = prompt('write your phrase') |
| 246 |
nothing calls this directly
no outgoing calls
no test coverage detected