A sense of humor takes years to develop. Babies burble and laugh at peekaboo, toddlers love pratfalls, and potty humor is the pinnacle of wit through elementary school. Understanding different types of humor – wordplay, puns,improv, sarcasm, jokes, pranks – seems to follow a kid's overall developmental trajectory.