2👍
✅
Because it is a computed, its value probably changes during the life of your program. You should check to ensure that a.list[12]
exists before trying to get a member from it.
if (a.list[12])
console.log(a.list[12].name);
Source:stackexchange.com