Syntax error: unexpected string

Out of general boredom I decided to create a fake “chat” application which just basically involves non-real people chatting about stuff.

So I’ve got this neat little response list:

const responses = [
   "Hello",
   "Hi",
   "Hi there!",
   "Hi everyone",
   "Howdy",
   "Howdy partner!",
   "Greetings",
   "Greetings everyone"
   "Greetings robloxians!",
   "Seasons greetings!",
   "Welcome",
   "Welcome to my place",
   "Welcome to our base",
   "Welcome to my barbecque"
];

but the line “Greetings robloxians!” throws an error despite it being a string and follows the same format as the other lines preceding it.
How could I possibly fix this?

You are missing a comma after "Greetings everyone"

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