Orders, DomesticOrders, and InternationalOrders for JavaScript demo
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
const orders = [ | |
{ id: 1, quantity: 40, orderDate: new Date(2018, 1, 1, 1, 1, 1) }, | |
{ id: 2, quantity: 20, orderDate: new Date(2018, 2, 2, 2, 2, 2) }, | |
{ id: 3, quantity: 30, orderDate: new Date(2018, 3, 3, 3, 3, 3) }, | |
{ id: 4, quantity: 10, orderDate: new Date(2018, 4, 4, 4, 4, 4) }, | |
{ id: 5, quantity: 20, orderDate: new Date(2018, 5, 5, 5, 5, 5) } | |
]; | |
const domesticOrders = [ | |
{ id: 1, quantity: 40, orderDate: new Date(2018, 1, 1, 1, 1, 1) }, | |
{ id: 11, quantity: 20, orderDate: new Date(2018, 11, 2, 2, 2, 2) }, | |
{ id: 111, quantity: 450, orderDate: new Date(2018, 11, 1, 2, 2, 2) }, | |
{ id: 1111, quantity: 230, orderDate: new Date(2018, 11, 11, 2, 2, 2) } | |
]; | |
const internationalOrders = [ | |
{ id: 3, quantity: 30, orderDate: new Date(2018, 3, 3, 3, 3, 3) }, | |
{ id: 33, quantity: 300, orderDate: new Date(2018, 3, 3, 3, 3, 3) }, | |
{ id: 4, quantity: 10, orderDate: new Date(2018, 4, 4, 4, 4, 4) }, | |
{ id: 44, quantity: 100, orderDate: new Date(2018, 4, 4, 4, 4, 4) }, | |
{ id: 5, quantity: 20, orderDate: new Date(2018, 5, 5, 5, 5, 5) }, | |
{ id: 55, quantity: 200, orderDate: new Date(2018, 5, 5, 5, 5, 5) } | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment