
// javascript
const solution = (array, height) => {
return array.filter(friendHeight => friendHeight > height).length;
}
// typescript
const solution = (array:number[], height:number):number => {
return array.filter(friendHeight => friendHeight > height).length;
}