Put in order · Vibe coding with Claude Code course · Module 4: Instagram clone

Sorting: Adding a Comment to the Array

Arrange the pieces of the expression that creates a new comments array with a new entry at the end:

Items to put in order

  • ]
  • , comment
  • ...photo.comments
  • [

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