At about 2 I started to let DD have chocolate. She's allowed the occasionally hot chip. But tbh We never have take away and if we do it's a sandwich. DD has a lot of allergies and me and DH are vegans so options are limited regardless.
I'm not overly strict. I will make her sweet treats like cupcakes or pudding but I don't buy processed/packet foods at all really.