Skip to content

Instantly share code, notes, and snippets.



Created Apr 28, 2018
What would you like to do?
function allDemo(orders) {
const areAllOrdersPlacedOn2018 = orders.every(
order => order.orderDate.getFullYear() === 2018
WriteLine(`Are All Orders Placed On 2018?: ${areAllOrdersPlacedOn2018}`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment