Files

8 lines
547 B
Markdown
Raw Permalink Normal View History

2024-08-08 22:05:43 +03:30
# boolean
2026-06-12 11:06:50 +02:00
A boolean is a primitive type with only two possible values: `true` or `false`. Booleans are used in conditions, comparisons, and logical operations. JavaScript also has truthy and falsy values, where non-boolean values are implicitly converted to `true` or `false` in a boolean context.
2024-08-08 22:05:43 +03:30
Visit the following resources to learn more:
- [@article@JavaScript Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
2026-06-12 11:06:50 +02:00
- [@video@Booleans in JavaScript](https://www.youtube.com/watch?v=B4ZCFdrBmbE)