My husband is a retired sailor. There's a reason the expression "swear like a sailor" exists in English.
When our daughter was 2, she picked up on EVERYTHING. He was quite good at minding his language when he could see her. He was not good at minding it while driving in heavy traffic. On evening he had been out with her in the backseat and someone cut him off. I knew it was gong to be interesting when he came in the house and started apologizing before he even explained what he was apologizing for. Then around the corner comes my darling baby girl, singing at the top of her toddler voice - "Dammit, dammit, dammit... dammit, dammit. dammit..." to the tune of Jingle Bells. I was laughing so hard I couldn't breathe!
Given the options from the sailor vocabulary, I was just grateful that "dammit" was all she learned that evening.