Put in order · Vibe coding with Claude Code course · Module 7: LinkedIn clone

Sorting: A relative time formatter

Arrange in one line creating the formatter: const relative = new Intl.RelativeTimeFormat("en-US", { numeric: "auto" });

Items to put in order

  • const relative =
  • "en-US",
  • { numeric: "auto" });
  • new Intl.RelativeTimeFormat(

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