How to Promisify an Ajax Call

1 · Tania Rascia · Aug. 8, 2018, midnight
Let's say you have an AJAX call, and some other function that depends on the AJAX call loading before it runs. Here's the AJAX function. And you might call the two functions in…...