Skip to content

Instantly share code, notes, and snippets.

@mevanabey
mevanabey / async-await-map.js
Last active June 24, 2018 11:01
using async/await with map
//this code is a sample of a part of a function I wrote to update the courier status of an order every hour. Changed for better understanding
orders = [
{
id: 0123,
tracking_no: '1234567A',
courier_status: '',
},
{
id: 0124,
tracking_no: '1234567B',