Challenges' console

Hello.

I enjoy the challenges.

It’s a way to take what you learned in your pocket with you anywhere, because you practice.

But an nested array and a one level array look the same when console.logged.

Make the joy of almost solved it to “i can’t tell”.

Do something Pro tons

There are Programmers, Pro Kilo Grammers and Pro tons.

FreeCodeCamp is the nucleus.

We are the Electrons evolving around you.

I’m addicted.

please share a screenshot of what you are seeing and share the code you are using to log

Here is different example.

The challenge: digital detox

I’m sorting the arrays and looking at them on the console because i believe it will help with my solution.

How to distinguish between where each array starts and ends?

Here is a screen shot for the condole and the code.

This is the first example i was talking about:

I printed the nested arrays like they are, but the console doesn’t show that they are nested, only shows values separated by commas.

And doesn’t separate each result from the other like,

if one array is long, it could be 2 results not one.

If o succeeded at flattening some of them, how to know what’s left?

You could say that using return would help, but console.log tells the whole story, it’s better for imagination solving.

you can open an issue about this, if you can check if this is a mobile app only problem or also appear on the website that would be great

I believe you could do a workaround by using JSON.stringify, like console.log(JSON.stringify(arr))