Put in order · Vibe coding with Claude Code course · Module 9: Discord clone
Ordering: Returning the highest role
Arrange the last line of the getHighestRole function: return own[0] ?? null;
Items to put in order
- return
- ??
- own[0]
- null;
You can check the correct answer by solving this task in the CodeWorlds game.