What is going to be logged into the console?
let myarray = [];
myarray[1] = 'Hello';
myarray[4] = 'World';
myarray.forEach(function (item) {
console.log(item);
});What is going to be logged into the console?
let myarray = [];
myarray[1] = 'Hello';
myarray[4] = 'World';
myarray.forEach(function (item) {
console.log(item);
});Create a free account to access the full topic