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

Jackie Jen
2,723 PointsPlease help. What does if (--) mean in javascript
What does if (--) mean in javascript? i have no idea how to search from google.
1 Answer

Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 PointsCould you elaborate a bit further?
On the first look "if" means a if statement block and the (--) just shows where the statement is evaluated and nothing more. ยดยดยดjs if(--)
Check [W3schools](http://www.w3schools.com/js/js_if_else.asp) for more info on if statements.
Hope this helped.
Jackie Jen
2,723 PointsJackie Jen
2,723 PointsHi Nejc
Below is the javascript code. I was stuck at if (--c). Hope you can clear my problem.