Created
February 24, 2018 22:48
-
-
Save dance2die/61d8ab6a503e7b26be4a83524fc1c238 to your computer and use it in GitHub Desktop.
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
function filterDemo(orders) { | |
const ordersWithQuantityOver30 = orders.filter(order => order.quantity > 30); | |
printOrders(ordersWithQuantityOver30); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment