Expecting the unexpected: a review of learning under uncertainty across development