Do skeletons have infinite arrows?

Do skeletons have infinite arrows? Skeletons have a finite amount of arrows, when they run out they will go melee. So basically, skeletons would have a set amount of arrows (maybe somewhat randomized for realism?) and once they use them all, they move their bow into their off hand and begin using their (currently unused) melee attack.

Skeletons have a finite amount of arrows, when they run out they will go melee. So basically, skeletons would have a set amount of arrows (maybe somewhat randomized for realism?) and once they use them all, they move their bow into their off hand and begin using their (currently unused) melee attack.
See also  Who won archery in 2021 Olympics?