Hacker News new | ask | show | jobs
by jws 5131 days ago
Well spotted!

Going to want to add a test case with more than one child at a time. I think as is it loses all but the most recent child.