const arr = [
{uid: "55", ferstName: "Серега",sex:"2"},
{uid: "43", ferstName: "Марк",sex:"2"},
{uid: "73", ferstName: "Коля",sex:"2"},
{uid: "104", ferstName: "Женя",sex:"2"},
{uid: "23", ferstName: "Лена",sex: "1"},
{uid: "6", ferstName: "Татьяна",sex:"1"},
{uid: "93", ferstName: "Юлия",sex: "1"},
{uid: "62", ferstName: "Злата",sex: "1"},
];
function filterByIdAndSex(item) {
if (item.id == 73 || item.sex == 1) {
return false;
}
return true;
}
var resultArray = arr.filter(filterByIdAndSex);
console.log('Отфильтрованный массив\n', resultArray);
<!DOCTYPE html>
<html lang="ru" class="main">
<head>
<meta charset="UTF-8">
<title>Page Transition</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
</head>
<body>
<div> //Забыли добавить
<a class="header" href="https://google.com"><h1>Click Me</h1></a></div>
<div class="cover enter"/> //Забыли закрыть
<script src='https://cdnjs.cloudflare.com/ajax/libs/zepto/1.1.6/zepto.min.js'></script>
</body>
</html>