Foreach Javascript

Source URL: N/A

Language: javascript

Created on: 2020-05-27 05:53:05

let words = ['one', 'two', 'three', 'four'];
words.forEach((word) => {
  console.log(word);
});
// one
// two
// three
// four
Foreach Javascript
content_copy