diff --git a/src/data/roadmaps/javascript/content/boolean@b1HvkoWA2t4kt8mS6FySm.md b/src/data/roadmaps/javascript/content/boolean@b1HvkoWA2t4kt8mS6FySm.md index 5f2baf186..2b82d02af 100644 --- a/src/data/roadmaps/javascript/content/boolean@b1HvkoWA2t4kt8mS6FySm.md +++ b/src/data/roadmaps/javascript/content/boolean@b1HvkoWA2t4kt8mS6FySm.md @@ -1 +1,10 @@ -# boolean \ No newline at end of file +# boolean + +In JavaScript, a `boolean` is a simple data type that can hold one of two values: `true` or `false`. These values are used to represent logical states and are essential in controlling the flow of a program. + +Booleans are commonly used in conditional statements (`if`, `else`, `while`, etc.) to determine whether a block of code should execute. + +Visit the following resources to learn more: + +- [@article@JavaScript Boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) +- [@video@Booleans in JavaScript](https://www.youtube.com/watch?v=B4ZCFdrBmbE)