JSTQL-JS-Transform/src/test/test_outputs/awaitToPromise_output.js

9 lines
166 B
JavaScript
Raw Normal View History

async function something() {
let a = 100;
a *= 100000;
return fetch("https://uib.no").then(uib => {
a += 100000;
a -= 1000;
2024-05-22 12:44:45 +00:00
return [a, uib];
});
}