What is the right way to push multiple image in a single array


#1

Below my code

this.camera.getPicture(options).then((imageData) => {
 this.ImageData = 'data:image/jpeg;base64,' + imageData;
     this.photos.push(this.ImageData); //if you have to show multiple image
}, (err) => {
 // Handle error
});

I’m doing like this is it ok or not ?
Thanks