3 ms·
const foo = await callApi(url) console.log(foo.bar) Why do we need anything more complex than this?
by MuffinFlavored 7y ago
const foo = await callApi(url)
console.log(foo.bar)
Why do we need anything more complex than this?
- lukebitts 7y agoTranslating that to Rust: let foo = call_api(url).await; println!("{}", foo.bar); Syntatical differences aside, what's complex about it?