М
Но если нет..
[...Array(1000).keys()].filter((num) => num % 3 === 0 || num % 5 === 0).reduce((acc, el) => el + acc, 0)
Size: a a a
М
[...Array(1000).keys()].filter((num) => num % 3 === 0 || num % 5 === 0).reduce((acc, el) => el + acc, 0)
A
А
V
А
О
A
A
А
А
А
О
А
О
А
А
А
A
A
IN