Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amine hamdi #27

Open
wants to merge 37 commits into
base: amine-hamdi
Choose a base branch
from
Open

amine hamdi #27

wants to merge 37 commits into from

Conversation

amine-hamdi
Copy link

No description provided.

@mohamed-Dhia mohamed-Dhia changed the title done amine hamdi Mar 25, 2020
@@ -4,3 +4,9 @@

// 2-write a function that takes array of strings and returns an array of the strings that have the same length
// example : ['hi','hello','welcome','hy'] == > ["hi","hy"]
function sameLength(arr){
return filter (arr, function(elm, i){
Copy link
Contributor

@mohamed-Dhia mohamed-Dhia Mar 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it gives me an error saying "Uncaught ReferenceError: filter is not defined", do you know why ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we didn't reach filter yet, can you tell where did you learn about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants