Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

asyncInterpolated.mjs

node v16.18.0
version: 0.0.1
endpointsharetweet
const delay = (ms, result) => new Promise(r => setTimeout(r, ms, result)); const interpolated = `Hello, ${await delay(1000, "World!")} Is this sync or async?`; console.log(interpolated);
Loading…

no comments

    sign in to comment