SHARE

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 ==========

https://www.youtube.com/playlist?list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

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

https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQeDH6xYhmO-db2mhoTSrT

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

https://www.youtube.com/playlist?list=PL4cUxeGkcC9ibZ2TSBaGGNrgh4ZgYE6Cc

========== 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

4 COMMENTS

  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

Please enter your comment!
Please enter your name here