My only real concern would be traffic.
Kids that age are escape artists, one of my earliest memories, almost 3 years old.
I took money from my parents, climbed down the outside of the house from the second story without them noticing and walked to a convenience store, bought the candy I wanted earlier in the day.