Skip to content

Commit aa6306d

Browse files
committed
Fix typo
1 parent 1a5bc65 commit aa6306d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/exercises/08-more-arrays-exercises.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ process.stdout.write('\n*8·21.\n');
9292

9393
process.stdout.write('\n*8·22.\n');
9494
/*
95-
*8·22. Create a function called 'britishGang' that takes an array of surnames (strings) and returns true if they are all likely British. A surname that is likely British starts with "Mac" or "Mc", or is any of the top 10 British surnames: Smith, Jones, Williams, Taylor, Davies, Brown, Wilson, Evans, Thomas, Johson.
95+
*8·22. Create a function called 'britishGang' that takes an array of surnames (strings) and returns true if they are all likely British. A surname that is likely British starts with "Mac" or "Mc", or is any of the top 10 British surnames: Smith, Jones, Williams, Taylor, Davies, Brown, Wilson, Evans, Thomas, Johnson.
9696
9797
Tip: Consider making a helper function 'isBritish' to check if a single surname is British.
9898
*/

src/exercises/08-more-arrays-solutions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ console.log(!allWhole([1, 2, 3, 4, 5.01]));
134134

135135
process.stdout.write('\n*8·22.\n');
136136
/*
137-
*8·22. Create a function called 'britishGang' that takes an array of surnames (strings) and returns true if they are all likely British. A surname that is likely British starts with "Mac" or "Mc", or is any of the top 10 British surnames: Smith, Jones, Williams, Taylor, Davies, Brown, Wilson, Evans, Thomas, Johson.
137+
*8·22. Create a function called 'britishGang' that takes an array of surnames (strings) and returns true if they are all likely British. A surname that is likely British starts with "Mac" or "Mc", or is any of the top 10 British surnames: Smith, Jones, Williams, Taylor, Davies, Brown, Wilson, Evans, Thomas, Johnson.
138138
139139
Tip: Consider making a helper function 'isBritish' to check if a single surname is British.
140140
*/

0 commit comments

Comments
 (0)