1 function installGrunt(data) { 2 for (var val in data) { 3 console.log(data[val]); 4 } 5 } 6 7 installGrunt(['a', 'b', 'c']);