var arr = ['а','б','в','г', 'д'];
for (var i = 0; i <= arr.length; i++) {
if (i % 2 == 1) {
arr.splice(i,1);
}
}
function isEven(num) {
return num % 2 === 0;
}
function dropEvenElems(list) {
var result = [],
len = list.length, i;
for (i = 0; i < len; i += 1) {
isEven(i) && result.push(list[i]);
}
return result;
}
var arr = ['а','б','в','г', 'д'];
dropEvenElems(arr);