NodeJS Patterns
December 5, 2018The JavaScript Async/Await was introduced in ES8. Wait what the heck is ES8? ES is short for ECMAScript which is a standard and JavaScript is the most popular implementation of that standard. async function groupUp(){ try{ consthello=awaitsayHello(); constleave=awaititTime2Leave(); }catch(error){ console.log(‘Error’,error.message); } }
Category:
nodejs