for each loop in app script || for loop vs for each loop in hindi
दोस्तों आज के इस आर्टिकल में मैं आपको बताऊंगा कि आप Google App-script में for each loop (for each loop in app script) का यूज कैसे कर सकते हैं |
Definition :
For each loop is array method which is used to execute a
function for each element in array.
Source Code:
function forEachLoop() {
var a = ['Mohan','Rakesh','Sanjay','Praveen'];
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheetname = ss.getSheets();
for(var i =0;i<sheetname.length;i++){
var tabname = sheetname[i].activate();
tabname.getRange('A1').setValue('tech gyan amit');
}
sheetname.forEach(function(sheet){
var getsheetName =sheet.activate();
getsheetName.getRange('B1').setValue('Amit');
});
}
7 टिप्पणियाँ
Its nice article for the new bloggers, every new blogger should read this article. we have a site where a online marketers can earn money online satta matka result
जवाब देंहटाएं
जवाब देंहटाएंbuy gmail accounts in bulk
buy old gmail accounts
gmail pva accounts
This has been an extremely wonderful article. Many thanks for providing this information.
जवाब देंहटाएंrateio de concursos
I can’t raise the boldness to tell you how much I worship you, so I guess I’ll just keep it to myself.
जवाब देंहटाएंkolkata ff
Its nice article for the new bloggers, every new blogger should read this article... Buy Instagram pva accounts
जवाब देंहटाएंInstagram pva accounts
जवाब देंहटाएंnic article
This all of information is good and great of collection
जवाब देंहटाएंworms zone mod apk
Thanks For Message Me if any issue please feel free to contact