DEV Community

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

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.

codeoz profile image
CodeOz Author

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