DEV Community

Discussion on: Vue Academy #4: v-for directive

Collapse
 
johnatanetges profile image
Johnatan Etges

Hi! I don't get it. Why did you still declare "isEven" method if you just filtered the array in the "computed" declaration?

Tanks in advance.

Collapse
 
codeoz profile image
Code Oz

Hey bro I miss it I just replace it by this.numberList.filter(item => this.isEven(item))! Thank you you rock!