Put in order · Vue.js course · Module 2: Template Syntax

v-for Object Arguments

Order the v-for arguments for objects from value to index:

Items to put in order

  • key (second argument)
  • index (third argument)
  • value (first argument)
Show the answer

Correct order:

  1. value (first argument)
  2. key (second argument)
  3. index (third argument)