Truthy and Falsy in JavaScript Programming, What is Truthy and Falsy in Programming, Codecademy 2022

Channel:
Subscribers:
7,740
Published on ● Video Link: https://www.youtube.com/watch?v=MG23y7loMkY



Duration: 3:37
112 views
0


In this JavaScript tutorial, we take a look at Codecademy's JavaScript course, Conditional Statements section's "Truthy and Falsy" lesson. In this lesson, we learn that non-boolean data types, such as numbers or strings, are always evaluated when checked inside a condition. We learn that at times we will want to check if a variable exists, but we won't want it to equal a specific value. We will only want to check and see if the variable was assigned a value. We also learn that some values evaluate to false (falsy) and these include the number 0, an empty string such as '' or "", null (which represents when there isn't a value), undefined (which represents when a declared valuable does not have a value), and NaN, which is not a number. Understanding Truth and Falsy is of high importance when learning to program in JavaScript and any other programming language. Sound logic is important for any programmer to understand and Truth and False statements make up a good portion of any programmer's life! Learn it before continuing down the path of JavaScript Mastery.




Other Videos By We Will Code


2022-02-21Learn JavaScript Control Flow Quiz on Codecademy, JavaScript Conditional Statements Review, JS Tips
2022-02-21Pokemon Legends Arceus, The Researcher of Myths, Grueling Grove, Defeat Vespiquen, Ancient Retreat 2
2022-02-21Pokemon Legends Arceus, The Researcher of Myths, Grueling Grove, Defeat Vespiquen, Ancient Retreat 1
2022-02-20Learn JavaScript Race Day Explained, Codecademy Programming Walkthroughs, and Tutorial, Conditionals
2022-02-20Program a Magic Eight Ball with JavaScript, Walkthrough for Magic Eight Ball on Codecademy, Learn JS
2022-02-19Conditional Statements Review on Codecademy, Understanding Conditional Logic, Conditionals Explained
2022-02-19JavaScript Switch Cases, The Switch Keyword in JavaScript, Codecademy Programming Full Course 2022
2022-02-18How Else if Statements Work in JavaScript, Else if Statements Explained, Codecademy Programming ES6
2022-02-18How to Use the Ternary Operator in JavaScript, Ternary Operator Explained, Program with Codecademy
2022-02-18Truthy and Falsy Assignment in JavaScript, Short Circuit True False Assignment, Codecademy ES6 JS
2022-02-17Truthy and Falsy in JavaScript Programming, What is Truthy and Falsy in Programming, Codecademy 2022
2022-02-17Understanding JavaScript Logical Operators, Explained JS Logical Operators with Codecademy JS Course
2022-02-17JavaScript Comparison Operators Explained, Learning to Code with Codecademy, JS Programming Lessons
2022-02-17Learn about JavaScript If Else Statements, Understanding Conditional Statements with Codecademy Code
2022-02-17Learn About JavaScript If Statement, Conditional Statements on Codecademy, Program with JavaScript
2022-02-17Understanding What are Conditional Statements in 2022, JavaScript Programming with Codecademy
2022-02-17History of JavaScript Versions, ES6 and Before, JavaScript History Introduction, Codecademy Article
2022-02-17Learning JavaScript, Intro Quiz, Introduction to JavaScript Quiz on Codecademy Programming 2022
2022-02-17JavaScript Dog Years Converter, Convert Human Years to Dog Years 2022, Learn Programming, Codecademy
2022-02-16JavaScript Kelvin Weather Converter 2022, Kelvin to Celsius to Fahrenheit JavaScript Code Examples
2022-02-16Review of JavaScript Variables, Review Variables in JavaScript Codecademy Course, Learning to Code



Tags:
Coding
JS
JavaScript
Programming
Tutorials