Skip to content Skip to sidebar Skip to footer

Google App Script

Trying to get this javascript code: result = response.return || response; to work in Google Sheet Script and I get error: Missing name after . operator The full code section i

Solution 1:

return

Is a keyword in JavaScript. You need to change the response object. Rename 'return' to something like returnedData or Returned or even Return [capital R] will work.


Post a Comment for "Google App Script"