The upward intonation, the guttural “ck” and even the cheeky comeback to win the argument: at just 19 months old, baby Orla has mastered the crucial elements of speaking like a scouser.

Impressively, the toddler who featured in a viral video this week appears to have done so without the need for actual words.

A clip posted on TikTok, and now viewed more than 20m times, shows Orla babbling in a Liverpudlian accent as her babysitter, Olayka, tries and fails to coax her into taking a nap. Scientists say that the cute exchange is also a vivid illustration of the processes by which babies acquire language – and the surprising role of accents.

Babies are so tuned in to the musical ups and downs of speech that even as newborns they cry in distinctive ways that reflect the languages that they have heard while in the womb.

In one 2009 study, Prof Kathleen Wermke, a pioneer in the field of speech development at the Würzburg University in Germany, found that French infants tend to wail on a rising note and German babies favour a falling melody and other patterns have been seen for Mandarin, Swedish and African languages. “When I started 40 years ago, if I told people I was recording babies crying and making high-pitched sounds they’d look at you and think ‘Is this really science?’,” she said.