Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion 6-12_JS.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ var list1 = [

// Should return 3


function JSDevs(baba) {
return baba.filter((devs) => devs.continent == 'Europe' && devs.language == 'JavaScript').length
}
JSDevs(list1);

// PROBLEM #2 //
// Your task is to return an array where each object will have a new property 'greeting' with the following string value:
Expand Down