If you've tried it and it doesn't then I guess it doesn't Would it be meaningful if you had say, a 3D array?
edit: sorry you've specifically said for X elements. I guess that could make sense. But a quick test shows it doesn't work. I normally use normal for loops and Array.at() anyway. Maybe it's the old school developer in me It's just more flexible IMO