00:00 поехали
00:48 slice() через reduce()
08:40 slice() через reduce() завернутый в функцию.
10:15 splice() через for
16:51 splice() через for c ii
19:11 splice() через reduce() завернутый в функцию.
const fruits = ['Apple', 'Banana', 'Apple','Cherry', 'Date', 'Fig','Fig','Apple'];