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 trialRoss Peace
Courses Plus Student 17,401 PointsThe different boolean values, true, false, and nil, have different precedence in a program. The same is true with differ
Hi,
Could you explain about the following sentences?
"The different boolean values, true, false, and nil, have different precedence in a program. The same is true with different operators like the and and or operators."
In my thought, operator has precedence. But how the values(true, false) can have precedence?
Thanks, Ross
2 Answers
rowend rowend
2,926 PointsI think the same, who has precedence are the operators.
Andrew Stelmach
12,583 PointsI think Jason explains it well in the video - I don't think I can do a better job than that!