0

Computed Property Names example 2 has an error

In the Js example, it comments in the answers to the code as “1, 2, 3” but when you run it, it prints “0, 1, 2” Anyone else see that?

15th May 2019, 12:14 PM
Bobby McGonigle
Bobby McGonigle - avatar
8 odpowiedzi
+ 4
Can you post the link to this example?
15th May 2019, 1:15 PM
Denise Roßberg
Denise Roßberg - avatar
+ 4
I tried it. Output: 1 2 3
15th May 2019, 2:02 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Bobby McGonigle I can't run the code in the app. For webcodes I need to use the code playground on the website. I think my smartphone is too old.
15th May 2019, 2:50 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Bobby McGonigle In the comments of this lesson I found just one comment that the output of example 2 is 0,1,2. Maybe it is possible that it has to do with your smartphone.
15th May 2019, 2:56 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Bobby McGonigle I think you should also send an email to sololearn: info@sololearn.com I am sure they can explain you why you get a different output and how to solve it.
15th May 2019, 3:14 PM
Denise Roßberg
Denise Roßberg - avatar
15th May 2019, 1:42 PM
Bobby McGonigle
Bobby McGonigle - avatar
0
weird, it does 0, 1, 2 fir me. im using the mobile app, you think that had anything to do eith it?
15th May 2019, 2:26 PM
Bobby McGonigle
Bobby McGonigle - avatar
0
ok Thanks Denise
15th May 2019, 3:03 PM
Bobby McGonigle
Bobby McGonigle - avatar