×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Nilesh Yadav
Added: Jul 3, 2017 5:48 PM
Views: 2
Tags: no tags
  1. var fruits = ['orange', 'apple', 'squash', 'pear'];
  2.  
  3. for (var fruit of fruits) {
  4.     console.log(fruit);
  5. }