Question 9
Which of the following is/are valid use(s) of “v-for” directive, assuming “obj” is an object having a number of key value pairs?
v-for = “value in obj”
v-for = “(value, name) in obj”
v-for = “(value, name, index) in obj”
None of these
Which of the following is/are valid use(s) of “v-for” directive, assuming “obj” is an object having a number of key value pairs?
v-for = “value in obj”
v-for = “(value, name) in obj”
v-for = “(value, name, index) in obj”
None of these
Correct answers
v-for = “value in obj”
v-for = “(value, name) in obj”
v-for = “(value, name, index) in obj”
Question 9 of 32 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 24 Dec 2023, in the September 2023 term (IIT M DIPLOMA FN EXAM FDD1 24 Dec 2023). It carries 3 marks.