Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJannung Kusdiantoro
6,743 Pointsthis is an array of double value, why is has string? ("lap3")
this is an array of double value, why is has string? ("lap3") is this wrong question?
2 Answers
Steven Parker
231,248 PointsIt's not a string.
The final task of the challenge is: "Set lap3 to the value in the third item of the finalLapTimes array."
There are no quotes around lap3. It's just a variable name, not a string.
Jannung Kusdiantoro
6,743 Pointsthank you, i thought the challenge told us to put string "lap3" into the array, and it was wrong.