In this case we will be return a value from array and that value will be above 18 and below 60.
function Solution(n){
var newB = [];
n.filter((item) => {
if(item > 17 && item < 61){
newB.push(item);
}
})
return newB.toString();
}