It doesn’t matter what is written here, the main aim is to create a CV in MarkDown format.
Consider an array/list of sheep where some sheep may be missing from their place. We need a function that counts the number of sheep present in the array (true means present).
For example,
[true, true, true, false,
true, true, true, true ,
true, false, true, false,
true, false, false, true ,
true, true, true, true ,
false, false, true, true]
The correct answer would be 17.
Hint: Don't forget to check for bad values like null/undefined
function countSheeps(arrayOfSheep) {
// TODO May the force be with you
const count = arrayOfSheep.filter(Boolean, null, undefined).length;
return count;
}
A2 according to EPAM examination. Will continue studing for returne my B2 level and proceed to reach C1 level. I’ve been learning English for 18 years. I had a B2 level but I’ve lost that level cause I haven’t been using it for 10 years. Now I have only A2 level according to EPAM exams. I’m working on it to reach C2 level.