Javascript Freecodecamp Algorithm #3: Seek and Destroy

preview_player
Показать описание
Learn how to solve freecodecamp javascript algorithms in various ways! This series is up-to-date with all ES6 and beyond javascript notations
Рекомендации по теме
Комментарии
Автор

you're awesome. will try and watch all your videos in this quarintine period. thanks a ton!

MrZiyak
Автор

Thank you so mush sir, you are teaching algorithams like telling a story, easy to understand, i am going to watch and practice one video every day.Please upload more videos like this, thanks again .Have a blessed day.

chamnil
Автор

Had no idea about the argument object. Super useful and beautifully clear explanation!

gazells
Автор

You are gold!
Thanks for this videos!

Isfean
Автор

Adding the [...arguments].slice(1) statement within the filter() method is going to increase the time complexity drastically. JavaScript will perform the arguments object to array and slice operation while iterating through each item of the 'arr' array.

That is why it is not recommended.

generationwolves
Автор

const destroyer = ([arr, ...toRemove]) => {
console.log('arr', arr);
console.log('toRemove', toRemove);

};

destroyer([[1, 2, 3, 4, 5], 4, 5])

//arr [ 1, 2, 3, 4, 5 ]
//toRemove [ 4, 5 ]

chiccomoshe
welcome to shbcf.ru