push() inserts elements outside Array body : Here is my code

    let loadInitialImages = ($) => {
	 let html = "";
	 let images = new Array();
	 const APIURL = "https://api.shutterstock.com/v2/images/licenses";

	 const request = async() => {
		const response = await fetch(APIURL, { headers: auth_header() } );
		const json = await response.json();
		json.data.map((v) => images.push(v.image.id)); //this is where the problem is
	 }

	 request();

	 console.log(images);
	 //images.map((id) => console.log(id));
    }
Everything is working fine here but the problem is when I'm pushing the elements into the array is goes out of the array braces `[]` below is the screenshot of my array:
[![Array output][1]][1]

I'm not able to loop through the array here.


  [1]: https://i.stack.imgur.com/FRlRa.png