Skip to content

Instantly share code, notes, and snippets.

@goodbedford
Created April 2, 2016 14:40
Show Gist options
  • Save goodbedford/64945a4f55babd7e0fc867c667ce6a12 to your computer and use it in GitHub Desktop.
Save goodbedford/64945a4f55babd7e0fc867c667ce6a12 to your computer and use it in GitHub Desktop.
var foodOrder = ["fries", "shake", "pickles", "polenta", "salad"];
//make each food order item print happy
foodOrder.forEach(function(item) {
console.log("Happy-" + item);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment