Inserting elements using JavaScript Array splice() method ... You can insert one or more elements into an array by passing three or more arguments to the splice() ... ... <看更多>
The splice() method returns the removed item(s) in an array and slice() method returns the selected element(s) in an array, as a new array ... ... <看更多>
Though I cannot argue with you that all you said here may be true, in order to be 100% sure, you have to consider that javascript engines perform optimizations ... ... <看更多>