You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.
Refers : freeCodeCamp/freeCodeCamp#9501
by @wiseleo:
Someone apparently copied the explanation from splice.
Slice does not modify arrays.
The entire explanation is problematic:
howMany
is the number of elements to beremovedskipped since beginning of arraystarting with arr[0].Modify the array withReturn the remaining array without modifying original arrayslice()
and return it.The text was updated successfully, but these errors were encountered: