We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e885225 commit 595fb01Copy full SHA for 595fb01
restOfThe8kyus/index.html
@@ -9,7 +9,7 @@
9
</head>
10
11
<body>
12
- <script src="js/merge2SortedArraysIntoOne.js"></script>
+ <script src="js/wideMouthedFrog.js"></script>
13
</body>
14
15
</html>
restOfThe8kyus/js/wideMouthedFrog.js
@@ -7,6 +7,7 @@ function mouthSize(animal) {
7
//todo given argument string
8
//todo check if alligator - if alligator return 'small'
//todo otherwise return 'wide'
+ return animal.toLowerCase() == "alligator" ? "small" : "wide";
}
console.log(mouthSize("toucan"));
0 commit comments