Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6295

How to extract array from object in Javascript-react native

$
0
0

I got below object from expo-image-picker-multiple, I want to get an array that doesn't include the "u, V ,W", from below since they are giving me bugs, I only want to extract the objects as array and use it to display the image locations, or how can I make below so I can "array.map" to display the images, thanks.

   Promise {"_U": 0,"_V": 1,"_W": Array [Object {"albumId": "278607672","creationTime": 1676714592000,"duration": 0,"filename": "IMG-20230218-WA0000.jpg","height": 1024,"id": "24561","mediaType": "photo","modificationTime": 1676714592000,"uri": "file:///storage/emulated/0/WhatsApp/Media/WhatsApp Images/IMG-20230218-WA0000.jpg","width": 576,},Object {"albumId": "1028075469","creationTime": 1676670585051,"duration": 0,"filename": "Screenshot_2023.02.17_22.49.45.051.png","height": 1280,"id": "24560","mediaType": "photo","modificationTime": 1676670585000,"uri": "file:///storage/emulated/0/Pictures/Screenshots/Screenshot_2023.02.17_22.49.45.051.png","width": 720,      },      ],"_X": null,     }

Viewing all articles
Browse latest Browse all 6295

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>