0
who can take all the numbers that have 6 ... get from this array [26, 6, 19, 36, 666, 46, 278, 996, 56]
Help
4 ответов
+ 11
var arr = [26, 6, 19, 36, 666, 46, 278, 996, 56];
var noSix = arr.filter(function(n) {
return !String(n).includes('6')
});
var onlySix = arr.filter(function(n) {
return String(n).includes('6')
});
console.log(noSix);
console.log(onlySix);
+ 6
🤘
+ 2
666 tho I am a man of god i cannot help you so sorry
0
Thank😜👍