I
Size: a a a
I
DE
DE
А
А
DE
T
js
[0, 3, 14, 15, 92, "6", "5", "hello", 32]
.map((item, index) => index % 2 ? undefined : index)
.filter((item) => item !== undefined)
DZ
DE
[0, 3, 14, 15, 92, "6", "5", "hello", 32]
.map((item, index) => !(item % 2) && index)
.filter(Boolean)
О
T
[0, 3, 14, 15, 92, "6", "5", "hello", 32]
.map((item, index) => !(item % 2) && index)
.filter(Boolean)
nn
DZ
M
nn
nn
nn
nn
О
О