Skip to content

Commit 8d4b226

Browse files
problem 45 initialization completed
1 parent 53dae43 commit 8d4b226

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

problem45/problem.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
## Practice Problem 45
3+
4+
**Write an arrow function where it will do the following:**
5+
6+
1. It will take an array where the array elements will be the
7+
name of your friends
8+
9+
2. Check if the length of each element is even, push elements
10+
with even length to a new array and return the result
11+
Print the result.

problem45/problem45.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
3+
## Practice Problem 45
4+
5+
**Write an arrow function where it will do the following:**
6+
7+
1. It will take an array where the array elements will be the
8+
name of your friends
9+
10+
2. Check if the length of each element is even, push elements
11+
with even length to a new array and return the result
12+
Print the result.
13+
14+
15+
16+
*/
17+
18+

0 commit comments

Comments
 (0)