We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e2497 commit 29ef076Copy full SHA for 29ef076
1 file changed
L-B/0025 Seven Boom!/SevenBoom.js
@@ -0,0 +1,8 @@
1
+function sevenBoom(arr) {
2
+ for (let i = 0; i < arr.length; i++) {
3
+ if (String(arr[i]).includes('7')) {
4
+ return 'Boom!';
5
+ }
6
7
+ return 'there is no 7 in the array';
8
+}
0 commit comments