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 Basics (Retired) Creating Reusable Code with Functions Functions Change the Flow of a Program

Mike Salomone
Mike Salomone
15,610 Points

numbers

What do the numbers in the green boxes off to the side mean?

3 Answers

Erik McClintock
Erik McClintock
45,783 Points

Mike,

The numbers in the green boxes are representing the "alert" that the function calls to display the random number that it generated. As Jacob says, it's just a visual aid for the class to help you see what the function does.

Erik

Mike Salomone
Mike Salomone
15,610 Points

Thank you for your reply. However, I still do not understand the meaning of the numbers in the green boxes. I understand everything explained in the video, but not the significance of the numbers 2-5-4-1.

The numbers 2-5-4-1 are projections of the random number function working, Its just showing the function working.

Mike Salomone
Mike Salomone
15,610 Points

Oh ok thank you! I thought it had to do with the flow of the program so I was so confused.

Its just a visual aide to help teach the class.