---
title: "Discussion on \"Lesson 9: Mastering JavaScript Boolean\" | Hashnode"
description: "Discussion on \"Lesson 9: Mastering JavaScript Boolean\". ✅ 1. What is a Boolean?\n\nA Boolean is a primitive data type in JavaScript with only two possible values:\n\ntrue → Represents yes, enabled, correct, valid.\n\nfalse → Represents no, disabled, incorrect, invalid.\n\n\n\n\nlet isLoggedIn = true;\nlet hasPaid = f..."
url: "https://hashnode.com/posts/lesson-8-mastering-javascript-boolean/67fdf611e2ca82531720d2cd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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...

Apr 15, 2025 · 4 min read · javascript-day-1.hashnode.dev  
Read the article

-   [#boolean](https://hashnode.com/tag/boolean)
-   [#javascript-truthy-and-falsy](https://hashnode.com/tag/javascript-truthy-and-falsy)

## Written by

[manoj ymk](https://hashnode.com/@manoj-ymk)

@manoj-ymk

  
[View profile](https://hashnode.com/@manoj-ymk)

“Daily Dev Notes — For You and Future Me”

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
