JavaScript Tutorial For Beginners #11 – Booleans in JavaScript




Yo guys, today we’re gonna look at boolean values (true and false values) and the different values that are seen as “truthy” or “falsey” by JavaScript. To determine whether a value is truthy or falsey, we can use the built in JavaScript Boolean() function.

Other expressions can also be evaluated as true or false, for example, is 7 greater than 5. Is X smaller than Y etc. We’ll go on to use expressions like this when we start using if statements and loops.

As always, any questions – just comment below :).

SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1

========== JavaScript for Beginners Playlist ==========

========== CSS for Beginners Playlist ==========

========== HTML for Beginners Playlist ==========

========== The Net Ninja ============

For more front-end development tutorials & to black-belt your coding skills, head over to – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg or http://thenetninja.co.uk

========== Social Links ==========

Twitter – @TheNetNinja – https://twitter.com/thenetninjauk

Original source


4 responses to “JavaScript Tutorial For Beginners #11 – Booleans in JavaScript”

  1. Hey Net Ninja, love how you get through the topics with the short videos!!! Question, when you say we can determine whether a value is "truthy" or "falsey" is that another way for saying "true" or "false"? Or does it mean something else and i'm just completely missing it? Thanx! Ingrid

Leave a Reply