This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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', |