I wonder the title is right or not,
anyway what I wonder is how can do thing like this
const items = [a1,a2,a3,a4,a5,a6,a7,a8,a9 .. and so on ]
const flexbox1 = [];
const flexbox2 = [];
const flexbox3 = [];
const flexbox4 = [];
for (const item in items) {
// what I wonder is this part.
}
==> result:
const flexbox1 = [a1,a5,a9,a13 .. and so on];
const flexbox2 = [a2,a6,a10,a14 .. and so on];
const flexbox3 = [a3,a7,a11,a15 .. and so on];
const flexbox4 = [a4,a8,a12,a16 ... and so on];
How can I get the results above??
I've been trying for two days to find the answer in the book and on the internet, but I couldn't find it.
please help ....
Thanks in advance.