Children with asthma have poorer memories than those who do not have the health condition.