What to do to correct Syntax error, (line 1012,file "Code") for writing app script
Fuzzy image there. Next time use the code block supplied in this forum's editor.
When you include an image in the post, it shrinks it down. Here's the original.
Line 1012 from the big image Dani supplied does look incorrect. I don't see an excample where this is used without parameters.
Maybe you were worried about "Multiple identical event listeners" which is documented at: