JSTQL-JS-Transform/output_files/output_await_to_promise.js
2024-05-22 14:44:45 +02:00

9 lines
No EOL
166 B
JavaScript

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