• Monday , 16 October 2017

JavaScript Tutorial For Beginners #11 – Booleans in JavaScript

Code Canyon



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

3d Ocean

Related Posts

4 Comments

  1. Cool Tony
    October 8, 2017 at 11:01

    Very well explained as usual. Thank you. TT

  2. Pc-Popravke
    October 8, 2017 at 11:01

    I had headphones on max volume and that ninja intro made me jump out of my chair! 😛 😀

  3. The Web Master
    October 8, 2017 at 11:01

    Are you Irish or Scottish?

  4. IJB
    October 8, 2017 at 11:01

    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 Comment

You must be logged in to post a comment.