(current)
| 9 | |
| 10 | function locateScalpel2(nest) { |
| 11 | function loop(current) { |
| 12 | return anyStorage(nest, current, "scalpel").then(next => { |
| 13 | if (next == current) return current; |
| 14 | else return loop(next); |
| 15 | }); |
| 16 | } |
| 17 | return loop(nest.name); |
| 18 | } |
| 19 |