async function getStarWarsData() { try { const response = await fetch('https://swapi.dev/api/people/1/'); const data = await response.json(); console.log(data ...
var a, async = function(f) { setTimeout(function() { var r = 'step 2'; f(r); }, 1); }, myFunc = function() { a = 'step 1'; async(function(r) { a = r; // should reset ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results