Looping


for (i in people) { 
   alert(people[i]);
}


Map and Push Methods


var myValues = range.Values.map( function (item) { 
   return ' " ' + item[0] + ' " ';
});

equivalent to

var myValues[]; 
for (var I = 0; I < range.values.length; i++) {
   myValues.push(' " ' + range.Values[i][0] + ' " ' );
}



© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext