Skip to content

Commit adc9d95

Browse files
JonJon
authored andcommitted
1 parent 6e4a35f commit adc9d95

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

exercises.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ console.log("4. mustBeTrue " + mustBeTrue(true));
120120
* Console.log your result.
121121
*/
122122

123+
function bigBird(word){
124+
if(word.length === 3){
125+
return 'Word to Big Bird!';
126+
}else{
127+
return 'ERROR';
128+
}
129+
}
130+
console.log("5. bigBird " + bigBird("rath"));
123131

124132

125133
/*
@@ -349,7 +357,7 @@ Final Boss
349357
* The function will loop through the string value and put all the letters into an array, except for the letter "A" and "a". We don't want no stinking "A" or "a" in our array. Test your function with the `phrase` below!
350358
*/
351359

352-
var phrase = "An apple a day keeps Alice feeling awesome!";
360+
// var phrase = "An apple a day keeps Alice feeling awesome!"
353361

354362

355363

0 commit comments

Comments
 (0)