1 min read
Iterative Methods In JavaScript, sample codes
The notes of noob javascript developer but you should read this!
- every()
- some()
- filter()
- map()
- forEach()
let num = [1,2,3,4,5]; // create an array named num console.log(num); // (5) [1, 2, 3, 4, 5]
Thanks for reading the note.