MCPcopy Create free account
hub / github.com/coderarmy-notes/mern-stack-course / deliverOrder

Function deliverOrder

03JS/Day18/index.js:46–53  ·  view source on GitHub ↗
(orderDetail)

Source from the content-addressed store, hash-verified

44
45
46function deliverOrder(orderDetail){
47 console.log(`I am on my way to deliver order ${orderDetail.customer_location}`);
48
49 setTimeout(()=>{
50 console.log("Order delivered succesfully");
51 orderDetail.delivery = true;
52 },3000)
53}
54
55
56

Callers 1

index.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected