Ask coding questions

← Back to all posts
what's a [...] in the middle of my list?
MF999 (0)

repl gives me a [[1, 2, 4, [...], 5, 6, 7, 3, [...]]]. What are the list of dots?

MF999 (0)
Coder100 (18118)

It is a nested array, and so by default, the language chose to only recursively show 2 arrays. Any more nested arrays are skipped.


so you solved your problem?

Dunce (65)

The [...] usually means a list of unspecified elements. But to fully answer your question I need more context.
Were did you see this text? What language are you using? If it was an error what code did you write to get it?

MF999 (0)

@Dunce I got it fixed, thanks though