JSFiddle - React, Tailwind, and code Playground
by eget teteete
JavaScript
let ar = async () => {
let url = 'https://api.github.com/repos/javascript-tutorial/en.javascript.info/commits';
let response = await fetch(url);
let commits = await response.json(); // читаем ответ в формате JSON
console.log(commits);
}
ar()