0

How can I see The console.log output in the "try code" area?

I have to change to document.write instead

4th Nov 2019, 3:18 AM
Mirché Ruz
11 Réponses
+ 1
Is there an error message being shown? I'm not sure whether this line here is correct: let [one, two, three] = arr; And try changing this: document.write(three); Into this: console.log(three); Then check if the submenu is active.
4th Nov 2019, 7:47 PM
Ipang
+ 1
You mean in Code Playground? If so, then run your code, then tap on menu button (on top right side) and select 'Show Console' submenu. * Never mind if this isn't what you asked for.
4th Nov 2019, 7:07 AM
Ipang
+ 1
Yes, It is! But I cannot see The "show console" submenu. Thank you in advance! ...
4th Nov 2019, 9:54 AM
Mirché Ruz
4th Nov 2019, 6:41 PM
Mirché Ruz
+ 1
I have a Spanish version, maybe that's the reason
4th Nov 2019, 6:41 PM
Mirché Ruz
+ 1
Already did that, and nothing...There's no error, in fact, is a sample code from a lesson...the submenu is still inactive... Thanks a lot!
4th Nov 2019, 7:50 PM
Mirché Ruz
+ 1
Well I believe someone will soon come with an answer, just wait 👍
4th Nov 2019, 7:57 PM
Ipang
+ 1
I hopefully so! Thank you so much!
4th Nov 2019, 8:07 PM
Mirché Ruz
0
Share your code so we can stay on the same page?
4th Nov 2019, 9:56 AM
Ipang
0
App language is not a problem, as I see in your screenshot, the 'Mostrar la consola' submenu is the one that we were talking about. But the submenu is disabled because you had overwritten the document by the `document.write` call. Comment the `document.write` line and you will find the 'Mostrar la consola' submenu is enabled.
4th Nov 2019, 7:37 PM
Ipang
0
Noup...yet is still disabled :(
4th Nov 2019, 7:40 PM
Mirché Ruz