0👍
✅
At the end I changed everything that was in my function inside the reader.onload but with self instead of this. Less readable, but working.
0👍
That’s because in your data
section you have not assigned a value to key i
. You should do i : 0
in your data, and in for loop let j = this.i; j < this.categories.length; j++)
Source:stackexchange.com