There is an array of the form
[File, File, File] 0:File 1:File 2:File How to add an object with a given key value? Try so
var obj = {}; obj[image_id] = file; images.push(obj); I get
[Object] 0:Object 86:File If so
images[image_id] = file; I get
[86: File] 86:File
[File, File, File] 0:File 1:File 2:FileI needed to be able to add objects to the array + change existing elements in the array, but in the end I got this[86: File] 86:FileInstead of[File] 86:FileAs a result, for example, if you drive such an array through each, I received a count of elements from 0 to 86 :) - Guest