The client is the computer system (including tablets and mobile devices) that is running the web browser. Client-side scripts are interpreted by the browser and executed on the client system.
myArray.splice(0,1) will remove the index 0 and one number myArray.splice(0,2) will remove the index 0 and 2 numbers after the index 0 ...