I am getting error push() is not a function while pushing element in >array? giving me error lik arry.push is not a function
var abc=["get","get","get","get","get","get","get","get","get",];
for(i=0;i<abc.length;i++){
let a=abc[i].push("mate");
console.log(abc);
}
.pushworks.abcis an array,abc[i]is an element of the array, in your case a string.strings don't have a push method ...