Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let arr = ['a', 'b', 'c'];
- // Use for (... of ...) loop to get the values of an iterable
- for (let alphabet of arr) {
- console.log(alphabet);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement