Essentially if `childIndex` is found, `foundThisTime = true`. You may get false negative results here since `[previousArray]`.concat([])` will still give you `[previousArray]`.

Since you're inside the conditional check; might as well assign it to true?