They both are JavaScript array functions. splice() changes the original array whereas slice() doesn't but both of them return the array object.
See this examples for splice:
var array=[1,2,3,4,5];
console.log(array.splice(2));
The output should be [3,4,5]. The original array is affected resulting in the array being [1,2].
See this example for slice:
var array=[1,2,3,4,5]
console.log(array.slice(2));
The output should be [3,4,5]. The original array is NOT affected resulting in the array being [1,2,3,4,5].
I hope this helps you understand the difference between them.