1, node environment.
examples are as follows:
var ss = [11,22];var TT = [55,66];ss.splice (0,0,TT); Console.log (ss.length); Console.log (ss); alert (ss);
Array [array, 11, 22]
Page popup content: 55,66,11,22.
3. JAVA8 Environment
In fact, the result of the above splice is the same, the array becomes a multidimensional array, the above results in the length of the array is the same, meaning that the result is correct, the difference is different output mode (some of the output multidimensional array of structure information, some of the format of the output, multi-dimensional array does not exist, Multidimensional underlying or one-dimensional array->c language experience).