JSFiddle - React, Tailwind, and code Playground

HTML

<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/async/0.9.0/async.js"></script>

JavaScript

async.each([0,1,2,3,4,5], function(i, callback) {
    $.get("http://echo.jsontest.com/" + i + "/" + i*i, function(data) {
        console.log(data); 
        callback();
    })
}, function(err){
    console.log('All files have been processed successfully');
});