var arr=[1,2,3,5,5];
var newArr = arr.forEach(function myfunction(val,indx, arr){
console.log(val+6);
});
var array = [5,9,7,3,64];
arr.map(function arrayMapping(val,idx,arr){
return idx;
})
console.log(array);
const massiv = [7,9,1,5,8,9,1];
const a = massiv.reduce(function reduseArray(a,b){
return a+b;
})
console.log(a);
const mas = [7,2,6,4,8,9];
const b = mas.every(function someFunction(a){
return a>5;
})
console.log(b);
const mass = [5,9,7,3,64];
const c = mas.some(function someFunction(a){
return a>5;
})
console.log(c);
var newArr = arr.forEach(function myfunction(val,indx, arr){
console.log(val+6);
});
var array = [5,9,7,3,64];
arr.map(function arrayMapping(val,idx,arr){
return idx;
})
console.log(array);
const massiv = [7,9,1,5,8,9,1];
const a = massiv.reduce(function reduseArray(a,b){
return a+b;
})
console.log(a);
const mas = [7,2,6,4,8,9];
const b = mas.every(function someFunction(a){
return a>5;
})
console.log(b);
const mass = [5,9,7,3,64];
const c = mas.some(function someFunction(a){
return a>5;
})
console.log(c);