Skip to content

Commit e25f613

Browse files
Jess ManapulJess Manapul
authored andcommitted
completed devleagueprep#6
1 parent 440d47a commit e25f613

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

exercises.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,16 @@ console.log(bigBird('Hi'));
140140
* Console.log your result.
141141
*/
142142

143+
function isEqual(first, second) {
144+
if (first === second) {
145+
return "You look mahvelous!";
146+
} else {
147+
return "I don't know who you are anymore.";
148+
}
149+
}
150+
151+
console.log(isEqual('quack', 'quack'));
152+
console.log(isEqual('shut', 'up'));
143153

144154
/*
145155
* #7

0 commit comments

Comments
 (0)