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

9 lines
172 B
JavaScript
Raw Normal View History

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