Skip to content

Commit 4da450c

Browse files
authored
Fixes a typo in comment for the type conversion and lucky-numbers example. (#1691)
1 parent a32e075 commit 4da450c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

concepts/type-conversion/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ When a value is used in a boolean context, JavaScript will apply the same rules
161161
```javascript
162162
const num = 0;
163163
if (num) {
164-
// this block NOT is executed because 0 is falsy
164+
// this block is NOT executed because 0 is falsy
165165
}
166166

167167
const name = 'Jin';

concepts/type-conversion/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Coercion to boolean commonly occurs for
107107
```javascript
108108
const num = 0;
109109
if (num) {
110-
// this block NOT is executed because 0 is falsy
110+
// this block is NOT executed because 0 is falsy
111111
}
112112
```
113113

exercises/concept/lucky-numbers/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Coercion to boolean commonly occurs for
107107
```javascript
108108
const num = 0;
109109
if (num) {
110-
// this block NOT is executed because 0 is falsy
110+
// this block is NOT executed because 0 is falsy
111111
}
112112
```
113113

0 commit comments

Comments
 (0)