Would you like to clone this notebook?

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

Cancel

untitled notebook

node v12.22.12
version: 1.0.0
endpointsharetweet
const tall = require('tall').default const tallMany = (urls) => Promise.all( urls.map( url => tall(url) ) ) async function main() { const urls = [ 'http://loige.link/b', 'http://loige.link/gh', 'http://loige.link/codemotion-rome-2017' ] const expandendUrls = await tallMany(urls) console.log(expandendUrls) // ['https://www.nodejsdesignpatterns.com/', 'https://github.com/lmammino', 'https://slides.com/lucianomammino/universal-js-web-applications-with-react-codemotion-rome-2017'] } main()
Loading…

no comments

    sign in to comment