Ok so what is this missing operator i cant find

.addField('Question', ///css/n${args.join(' ')}///``)

SyntaxError: missing ) after argument list

This posting is all messed up by the markdown rendering. Could you edit it with ``` around the code snippet?

addField(‘Question’, ///css/n${args.join(’ ')}///``)

SyntaxError: missing ) after argument list

Check your slashes - I don’t understand why there need to be so many. What is this supposed to do?

I think it should be this:

.addField(‘Question’, /\/css\n${args.join(` `)}\//)

Ignore the fact that it thinks the end part is a comment.
Using forward slashes instead of backslashes in regexp maybe?
Also, in the args.join, you used one auote and one backtick, so they didn’t match up and messed up your entire thing :slight_smile:
Happy Glitching!

.addField('Question', ///css/n${args.join(' ')}///``)
it only comes as this
Just note that there are ` that thing after every slash

Arguments expression Expected.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.