Push values from JSON object to array and use outside function
I am writing a axios JSON data call function and want to push values from my jJSON function to use outside of the function. Is there anyways I can do that? My Code: let website_names = `${api}`; axios.get(website_names, { cancelToken:…