Put in order · Vibe coding with Claude Code course · Module 8: Slack clone

Sorting: The mentionQuery signature

Arrange on one line the beginning of the function: export function mentionQuery(text: string, caret: number): string | null {

Items to put in order

  • mentionQuery
  • (text: string, caret: number)
  • export function
  • : string | null {

You can check the correct answer by solving this task in the CodeWorlds game.