JSFiddle - React, Tailwind, and code Playground
by colintoh
JavaScript
function loadUsers(userIdsArray, load, done) {
/* Write your code here
*
*
*
*/
}
// Do not edit anything below this line
// load stub
function load(userId, callback) {
$.get(url+userId, callback);
return;
}
// done stub
function done(userObjectsArr) {
// ........
return;
}
// Sample usage
loadUsers([1,2,3], load, done);