(nodes)
| 216 | // within the body. |
| 217 | const countFunctions = (expression) => { |
| 218 | const countNodes = (nodes) => |
| 219 | nodes.map(countNode).reduce((a, b) => a + b, 0); |
| 220 | const countNode = (node) => { |
| 221 | if (node.functionDefinitionValue) { |
| 222 | return 1; |
no test coverage detected