splice()Duplicates an array or a string and adds and/or removes one or more values from it. NOTE: This is different from the traditional splice function because it doesn't modify the array, but rather it returns a modified duplicate.
This function is valid in v2.1.0 to v2.24.3. This function has been downloaded 65 times.arrOrStr. If this number is negative the position will be calculated from the end of arrOrStr.Infinity
arrOrStr. If negative this will be used as if it were an index counting from the end of arrOrStr.start. If arrOrStr is an array, this should be an array of the values to insert at start. If arrOrStr is a string, this should be the string to insert at start.arrOrStr.This function directly requires the following functions which are included automatically:
isArrayLike()slice()