Code QuizBeginner

Swapped System and User Roles

Identify the role assignment mistake in this chat messages array.

Codejavascript
const messages = [
  { role: "user", content: "You are a helpful geography assistant." },
  { role: "system", content: "What is the capital of France?" }
];

What is the bug in these messages?