I have an array that I stored on AsyncStorage as Json.stringfy. when I try to get the key it returns as a string. what I want is like this [0:'apple', 1:'ball', 2:'car']. following is the method I have tried
useEffect(() => {
AsyncStorage.getItem('@moduke').then(module => {
const a = JSON.parse(module);
console.log(a.length);
});
}, []);