We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Splice is used to remove elements from the array.
here it starts removing elements from j. The nextone is for number of number of elements to be removed. here it's 1 element.
Strings: Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Splice is used to remove elements from the array. here it starts removing elements from j. The nextone is for number of number of elements to be removed. here it's 1 element.
hope you understood. visit this for more. http://www.w3schools.com/jsref/jsref_splice.asp