I am trying to parse through the JSON response from the OpenWeather API and I want to get the probability of precipitation, but the corresponding API response field is 'pop', so whenever I try to access it thinks that I am trying to use the .pop() method. How can I get Javascript to ignore the .pop() method and just let me use .pop to access the API?
My code:
The applicable portion of the JSON response:
Thank You
You could try this: response['pop']
but after all OpenWeather API needs to fix this. Maybe send them an email, and let them know, but this needs to be fixed from their part since you can't ignore built in methods