Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Commit f128c69

Browse files
committed
Fix typos
1 parent a7cf28f commit f128c69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

2-mandatory/3-bush-berries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function isBushSafe(berryArray) {
2727

2828
/* ======= TESTS - DO NOT MODIFY ===== */
2929

30-
test("isBushSafe finds toxic busy", () => {
30+
test("isBushSafe finds toxic bush", () => {
3131
expect(
3232
isBushSafe(["pink", "pink", "pink", "neon", "pink", "transparent"])
3333
).toEqual("Toxic! Leave bush alone!");

2-mandatory/6-journey-planner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Now let's do this small exercise
1111
1212
Using string methods update the checkCodeIsThere() function
13-
- The function will have a string as a paramter
13+
- The function will have a string as a parameter
1414
- The function should check if the word "code" exists in the string
1515
- If it does exist, return the index of it, if not return "Not found"
1616
@@ -119,7 +119,7 @@ function getLocationName() {}
119119
- Use array method to remove locations that are not accessible by the given transportMode.
120120
- Use array method to manipulate its elements.
121121
122-
Advanced challange: try to use arrow function when invoking an array method.
122+
Advanced challenge: try to use arrow function when invoking an array method.
123123
*/
124124
function journeyPlanner(locations, transportMode) {
125125
// Implement the function body

0 commit comments

Comments
 (0)