const colors = ['blue', 'green', 'white']; function iterate(item) { console.log(item);} colors.forEach(iterate);
Standard input is empty
blue green white
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!