const arr = [1, 2, 3];
arr[10] = 99;
console.log(arr.filter(x => x === undefined).length);
WebDEV #test #Frontend
Выберите правильный вариант 👇🏼
WE WebDEV @webb_dev · 8.3K subscribers const arr = [1, 2, 3];
arr[10] = 99;
console.log(arr.filter(x => x === undefined).length);