(callback, that)
| 13059 | } |
| 13060 | |
| 13061 | function node_find(callback, that) { |
| 13062 | let index = -1; |
| 13063 | for (const node of this) { |
| 13064 | if (callback.call(that, node, ++index, this)) { |
| 13065 | return node; |
| 13066 | } |
| 13067 | } |
| 13068 | } |
| 13069 | |
| 13070 | function node_sum(value) { |
| 13071 | return this.eachAfter(function(node) { |
nothing calls this directly
no outgoing calls
no test coverage detected