diff --git a/04week/gitOlympics.js b/04week/gitOlympics.js new file mode 100644 index 000000000..310df58de --- /dev/null +++ b/04week/gitOlympics.js @@ -0,0 +1,10 @@ +'use strict'; + +const names = ['Anna', 'Laura', 'Eden', 'Eve', 'Arlo']; +const printListofOlympians = (array) => { + array.forEach(function (element) { + console.log(element); + }); +} + +printListofOlympians(names); \ No newline at end of file