JSTQL-JS-Transform/output_files/output_await_to_promise.js

9 lines
166 B
JavaScript
Raw Normal View History

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