---
title: "#javascript-truthy-and-falsy articles | Hashnode"
description: "Explore 6 articles tagged #javascript-truthy-and-falsy on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/javascript-truthy-and-falsy"
---

Tag

# #javascript-truthy-and-falsy

6 posts · 0 followers

[prashant chouhan](https://hashnode.com/@prashantch) · [Aug 30, 2025](https://hashnode.com/posts/javascript-basics-variables-data-types-errors-and-control-flow-beginners-guide/68b3011261dceb804c751158)

### [JavaScript Basics: Variables, Data Types, Errors & Control Flow (Beginner’s Guide)](https://js-basic.hashnode.dev/javascript-basics-variables-data-types-errors-and-control-flow-beginners-guide?utm_source=hashnode&utm_medium=feed)

JavaScript is everywhere—from websites to mobile apps. If you’re just starting out, learning the core concepts will make everything else much easier.

4 min read · [js-basic.hashnode.dev](https://js-basic.hashnode.dev/javascript-basics-variables-data-types-errors-and-control-flow-beginners-guide?utm_source=hashnode&utm_medium=feed)

[manoj ymk](https://hashnode.com/@manoj-ymk) · [Apr 15, 2025](https://hashnode.com/posts/lesson-8-mastering-javascript-boolean/67fdf611e2ca82531720d2cd)

### [Lesson 9: Mastering JavaScript Boolean](https://javascript-day-1.hashnode.dev/lesson-8-mastering-javascript-boolean?utm_source=hashnode&utm_medium=feed)

✅ 1. What is a Boolean? A Boolean is a primitive data type in JavaScript with only two possible values: true → Represents yes, enabled, correct, valid. false → Represents no, disabled, incorrect, invalid. let isLoggedIn = true; let hasPaid = f...

4 min read · [javascript-day-1.hashnode.dev](https://javascript-day-1.hashnode.dev/lesson-8-mastering-javascript-boolean?utm_source=hashnode&utm_medium=feed)

[Daniel Engelhardt](https://hashnode.com/@hardnold) · [Jan 23, 2024](https://hashnode.com/posts/why-you-should-use-nullish-coalescing-instead-of-logical-or/65af88fbaedade3a929795e6)

### [Why you should use ?? instead of ||](https://hardnold.hashnode.dev/why-you-should-use-nullish-coalescing-instead-of-logical-or?utm_source=hashnode&utm_medium=feed)

We often see and write things like this: function sayHey(name) { name = name || "Precious"; console.log(\`Hey ${name}\`); } sayHey("Morty"); //Hey Morty sayHey(); //Hey Precious But did you know that the ?? operator, known as the nullish coal...

3 min read · [hardnold.hashnode.dev](https://hardnold.hashnode.dev/why-you-should-use-nullish-coalescing-instead-of-logical-or?utm_source=hashnode&utm_medium=feed)

[Diwakar](https://hashnode.com/@diwakarkashyap) · [Jul 24, 2023](https://hashnode.com/posts/truthy-and-falsy-in-javascript/64be577822fc6ea9ec32ab27)

### [Truthy and Falsy in Javascript](https://diwakarkashyap.hashnode.dev/truthy-and-falsy-in-javascript?utm_source=hashnode&utm_medium=feed)

Truthy and Falsy in Javascript,In JavaScript, a truthy value is a value that is considered true when encountered in a Boolean context. All values are truthy

1 min read · [diwakarkashyap.hashnode.dev](https://diwakarkashyap.hashnode.dev/truthy-and-falsy-in-javascript?utm_source=hashnode&utm_medium=feed)

[quizzesforyou](https://hashnode.com/@quizzesforyou) · [Jun 30, 2023](https://hashnode.com/posts/javascript-truthy-and-falsy/64a1c1d7b9cbe8c176d2f4ce)

### [JavaScript Quiz #06 — Truthy and Falsy Values](https://quizzesforyou.hashnode.dev/javascript-truthy-and-falsy?utm_source=hashnode&utm_medium=feed)

What are Truthy and Falsy Values In JavaScript? How to use Truthy and Falsy Values in JavaScript?

4 min read · [quizzesforyou.hashnode.dev](https://quizzesforyou.hashnode.dev/javascript-truthy-and-falsy?utm_source=hashnode&utm_medium=feed)
