Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var list = ['delhi','mumbai','pune','kolkata'];
- for (let i = 0, max = list.length ; i < max ; i++ ){
- var current_city = list[i];
- //other code goes here
- }
- console.log(current_city);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement