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 trial

JavaScript JavaScript Foundations Numbers Creating Numbers: Part 2

Xavier Haniquaut
Xavier Haniquaut
9,089 Points

small bug / error : multiple declarations

It seems that we can not declare the 2 variables in the same time.

var GermanyGDP = 3.4E12, mevol = 020;

Is this a bug from the site or a coding error ?

1 Answer

Keith Kelly
Keith Kelly
21,326 Points

Technically it is neither. The coding challenges tend to be very controlled in order to test comprehension. While you can declare variable the way you have, the challenge is probably looking for each variable to be declared separately.