I\'m currently playing around with Google Apps Script and can\'t get the following snippet to work.
Please try the below line
for(i=0;i<=80;i++) { Logger.log('title=' + mySite[i].getTitle() + '\n' + 'name=' + mySite[i].getName()); }