> thats mean that my workaround is ok?
> or is there another better way?
Another way would be not having to extract one array into another at
all, i.e.
{
names: [ filename1, filename2, filename3 ]
, numbers: [filenumber1, filenumber2, filenumber 3]
}
but that may not be easy to maintain, as it does not group all the
info about one file together. You are "rotating" the more maintainable
object into an array, and that looks fine to me.
-- S.
--
To unsubscribe, reply using "remove me" as the subject.