Javascript – Calling an optional JS fetch promise from multiple code locations
I have three URLs I need to access in my code. The first two will always be accessed, but the third one might be accessed zero, one or two times. As all URLs take a lot of processing, I don't…