mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-12 19:00:43 -04:00
fix(curriculum): Updated javascript curriculum step 17 descripiton (#53460)
This commit is contained in:
committed by
GitHub
parent
2897400793
commit
933bbe7758
@@ -7,6 +7,13 @@ dashedName: step-17
|
||||
|
||||
# --description--
|
||||
|
||||
In programming, it is standard practice to prefix a variable with `is` or `has` to indicate that the variable is a boolean.
|
||||
|
||||
```js
|
||||
let isRunning = true;
|
||||
let hasCompleted = false;
|
||||
```
|
||||
|
||||
Declare an `isError` variable and set it to `false`, but use `let` so you can reassign it later.
|
||||
|
||||
# --hints--
|
||||
|
||||
Reference in New Issue
Block a user