Put in order · Vibe coding with Claude Code course · Module 13: Twitch clone

Order: pickTab in one line

Arrange the body of the pickTab function (one line):

Items to put in order

  • (tab) => tab.key === value)
  • ?.key
  • ?? tabs[0].key
  • tabs.find(

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