mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-13 18:24:33 +02:00
Fix: correct redirect id for operators section
This commit is contained in:
@@ -111,7 +111,7 @@ In the previous section, the value of `myVariable` was a number data type.
|
||||
|
||||
`let myVariable = 123;`
|
||||
|
||||
Variables can store all types of numbers, including decimals or negative numbers. Numbers also can be used with arithmetic operators, covered in the [next section](#operators).
|
||||
Variables can store all types of numbers, including decimals or negative numbers. Numbers also can be used with arithmetic operators, covered in the [next section](#arithmetic-operators).
|
||||
|
||||
### Arithmetic Operators
|
||||
|
||||
@@ -171,7 +171,7 @@ You can achieve your formatting goals with either method, but template literals
|
||||
|
||||
### Booleans
|
||||
|
||||
Booleans can be only two values: `true` or `false`. Booleans can help make decisions on which lines of code should run when certain conditions are met. In many cases, [operators](#operators) assist with setting the value of a Boolean and you will often notice and write variables being initialized or their values being updated with an operator.
|
||||
Booleans can be only two values: `true` or `false`. Booleans can help make decisions on which lines of code should run when certain conditions are met. In many cases, [operators](#arithmetic-operators) assist with setting the value of a Boolean and you will often notice and write variables being initialized or their values being updated with an operator.
|
||||
|
||||
- `let myTrueBool = true`
|
||||
- `let myFalseBool = false`
|
||||
|
Reference in New Issue
Block a user