Skip to content

Commit 726f08a

Browse files
authored
Merge pull request #1049 from DouglasMV/master
Fixed backticks missing
2 parents 60585f2 + cce0816 commit 726f08a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

1-js/05-data-types/03-string/2-check-spam/task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ importance: 5
44

55
# Check for spam
66

7-
Write a function `checkSpam(str)` that returns `true` if `str` contains 'viagra' or 'XXX', otherwise false.
7+
Write a function `checkSpam(str)` that returns `true` if `str` contains 'viagra' or 'XXX', otherwise `false`.
88

99
The function must be case-insensitive:
1010

1-js/05-data-types/04-array/2-create-array/task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The array in the process:
1616

1717
```js no-beautify
1818
Jazz, Blues
19-
Jazz, Bues, Rock-n-Roll
19+
Jazz, Blues, Rock-n-Roll
2020
Jazz, Classics, Rock-n-Roll
2121
Classics, Rock-n-Roll
2222
Rap, Reggae, Classics, Rock-n-Roll

1-js/05-data-types/04-array/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ We can use an array as a deque with the following operations:
453453
- `push(...items)` adds `items` to the end.
454454
- `pop()` removes the element from the end and returns it.
455455
- `shift()` removes the element from the beginning and returns it.
456-
- `unshift(...items)` adds items to the beginning.
456+
- `unshift(...items)` adds `items` to the beginning.
457457

458458
To loop over the elements of the array:
459459
- `for (let i=0; i<arr.length; i++)` -- works fastest, old-browser-compatible.

0 commit comments

Comments
 (0)