glide-code-column
JavaScript
(async () => {
const response = await fetch('https://yesno.wtf/api')
const result = await response.json();
return result;
})().then(finalResult => {
console.log(finalResult);
});
(async () => {
const response = await fetch('https://yesno.wtf/api')
const result = await response.json();
return result;
})().then(finalResult => {
console.log(finalResult);
});