Skip to content

Commit 440d47a

Browse files
Jess ManapulJess Manapul
authored andcommitted
completed devleagueprep#5
1 parent c645af8 commit 440d47a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

exercises.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,16 @@ console.log(mustBeTrue(falseTest));
116116
* Console.log your result.
117117
*/
118118

119+
function bigBird(word){
120+
if (word.length === 3) {
121+
return 'Word to Big Bird!';
122+
} else {
123+
return "You don't belong on Sesame Street.";
124+
}
125+
}
119126

127+
console.log(bigBird('Hey'));
128+
console.log(bigBird('Hi'));
120129

121130
/*
122131
* #6

0 commit comments

Comments
 (0)