Created
August 17, 2019 07:33
-
-
Save Kamilnaja/c790b2f6b0fe4248e545b89e6ddc9f1b to your computer and use it in GitHub Desktop.
Programming exercise #12 Count, how many certain items exists in array of objects.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// So, you have input data like this | |
let objArr = [ | |
{ id: 1, name: 'Kamil' }, | |
{ id: 2, name: 'Janusz' }, | |
{ id: 3, name: 'Mariusz' }, | |
{ id: 4, name: 'Alina' }, | |
{ id: 5, name: 'Olo' } ]; | |
// Please count, how many names in your array contains letter 'm'. | |
// I suggest you, to use RXJS. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment