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) Making Decisions with Conditional Statements Review Boolean Logic

Miguel Nunez
Miguel Nunez
3,266 Points

Direct answer of Boolean In Javascript.

So in simplicity Boolean is the logic understanding of java script correct? Please don't give me answers like it means true or false kind of thing I been reading up on the net about that but so many teachers talk in code terms that throws me off I just need a straight answer yes or no I just want to stop this headache the term Boolean gets me so confuse especially when people say stuff like it rains today then i'm wet which is true I just want to know for sure this is based in logic terms in java script so many people so many different answers back.

jag
jag
18,266 Points

Not sure but it's simple.

boolean - a binary variable, having two possible values called β€œtrue” and β€œfalse.”

Not quite sure what you mean by "Boolean is the logic understanding of java script".

I feel that you might be overthinking about Boolean too much.

Conditions are used to evaluate to do one condition over another.

Boolean logic, I think comes from mathematics. Your going to hate me for this. I copied this definition from google.

 Boolean logic is a system that allows a searcher to 
communicate to a database specific relationships between 
keywords (or concepts) when searching. 
The most commonly used Boolean commands 
(sometimes called logical operators) 
are AND, OR, and NOT.Jan 15, 2016.   

I don't even know what that means

1 Answer

Steven Parker
Steven Parker
231,269 Points

:point_right: Yes. :wink:

"Boolean is a system of algebraic notation used to represent logical propositions."