Syntax error: SyntaxError: Unexpected token ';' line: 55 file: Code.gs

169 views
Skip to first unread message

Ben Anderson

unread,
May 4, 2023, 12:50:11 AM5/4/23
to Google Apps Script Community

Syntax Error.PNG

Not sure what the syntax error is here. This is copy pasted from a coding class by https://www.benlcollins.com/apps-script/api-tutorial-for-beginners/ any help would be greatly appreciated.

Andrew Roberts

unread,
May 4, 2023, 4:53:57 AM5/4/23
to google-apps-sc...@googlegroups.com
if (albumA < albumB) { return -1;} else if (albumA > albumB) {return 1;}

On Thu, 4 May 2023 at 01:50, Ben Anderson <benton.j...@gmail.com> wrote:

Syntax Error.PNG

Not sure what the syntax error is here. This is copy pasted from a coding class by https://www.benlcollins.com/apps-script/api-tutorial-for-beginners/ any help would be greatly appreciated.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/2626bcc4-69b8-418f-8d1f-78d3912bfd00n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages