I have a list of Array with filenames and filepath. Is group into a list of array.
Example :
**var files = [filenameA, filenameB, filenameC, filepathA, filepathB, filepathC]**
I need to map them and convert them to -->
var remapfiles = {[filenameA,filepathA],[filenameB,filepathB], [filenameC,filepathC]}
The reason it was compile in files
it was extracted using an SDK function where it will retrieve all filesnames and path.
How should i map/sort this to get remapfiles
result and to log ? Please advice.