JST

Опубликовано: 18 Январь 2021
на канале: Ghulam Hussain
184
7

it is very common needed to remove certain element from the Array. But most solutions that I have seen (like with "splice" method) mutate original array that is not the best way of solving this problem.

Let me show you alternative solutions how to remove element from the Array in JavaScript in immutable way.