How can i get value from the api json response object and assign it to constant in javascript
I'm trying to fetch the prices from coingecko API it's returning object json response how can I get that response value and assign it to const rate directly to my calculation here the below code I'm try to achieve fetch(`https://api.coingecko.com/api/v3/simple/price?ids=${give}&vs_currencies=${get}`)…