In the reading of Array Methods I ran into something that confused me a bit. This example alerts two objects but why? Sorry I’m lost
let are =[1, 2];
let arrayLike = {
0: “something” ,
length: 1
};
alert(arr.concat(arrayLike));
//1,2[object Object]
Also I might be posting in wrong place I’ll search another place to post this thanks so much