That the data he chose can be expressed as a range is utterly inconsequential. The values are never even used. In all likelihood, the author just wrote
for (auto item : {})
and then filled in the first sequence of numbers that popped into his head.