Gimp.ValueArray
const Gimp = imports.gi.Gimp;
let valueArray = new Gimp.ValueArray(n_prealloced: Number(gint));
The prime purpose of a Gimp.ValueArray is for it to be used as an object property that holds an array of values. A Gimp.ValueArray wraps an array of GObject.Value elements in order for it to be used as a boxed type through %GIMP_TYPE_VALUE_ARRAY.
Since 2.10