fetch(%27https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits%27) .then(response => response.json()) .then(commits => alert(commits[0].author.login));
fetch(%27https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits%27) .then(response => response.json()) .then(commits => alert(commits[0].author.login));