Google Apps Script – Using Yield

google-apps-script

I am trying to create a generator as part of a script that I am writing. I am getting syntax errors. I am starting to wonder if it is because it is a new feature of JavaScript that is not in Google App Scripts.

Is this the case? If so, is there another way to create generators?

Best Answer

Google Apps Script doesn't support yield / generators

Related

Reference