![javascript - Console displaying information of 4 objects when there is only 1 object in my array - Stack Overflow javascript - Console displaying information of 4 objects when there is only 1 object in my array - Stack Overflow](https://i.stack.imgur.com/oJO58.png)
javascript - Console displaying information of 4 objects when there is only 1 object in my array - Stack Overflow
JavaScript Arrays In-Depth. A breakdown of the core concepts of… | by Kumar Kalyan | JavaScript in Plain English
![Some weird things about array, loop and "console.log" on chrome - JavaScript - The freeCodeCamp Forum Some weird things about array, loop and "console.log" on chrome - JavaScript - The freeCodeCamp Forum](https://global.discourse-cdn.com/freecodecamp/original/3X/9/3/93f00f8a11b07c1c406956cb15e27cb9f158d4a2.png)
Some weird things about array, loop and "console.log" on chrome - JavaScript - The freeCodeCamp Forum
![Hey! I'm having a issue where the console.log() statement executes before the .map() function. So it logs out a empty array. I tested by putting the log inside the map, it prints Hey! I'm having a issue where the console.log() statement executes before the .map() function. So it logs out a empty array. I tested by putting the log inside the map, it prints](https://preview.redd.it/hey-im-having-a-issue-where-the-statement-executes-before-v0-8t1p24kt1yna1.png?auto=webp&s=d75fd1e1d48bb5066aaa5d5c768726bd3b9a4761)