Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ugh, looks like a copy-pasto when moving the blog into the CMS, will get that fixed, thanks.

The code was supposed to be:

    let namePromise = api.getMyName();
    let result = await api.hello(namePromise);

    console.log(result);


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: