mordi

Results 1 comments of mordi

You can do something like this ``` function getJSON(url, callback) { let xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.responseType = 'json'; xhr.onload = function() { var status = xhr.status;...