//Example1: Merges two arrays, altering the first argument.
$.merge( [3,2,1], [4,3,2] )
//Result: [3,2,1,4,3,2]
//Example2: Merges two arrays, but uses a copy, so the original isn't altered.
var first = ['a','b','c'];
var second = ['d','e','f'];
$.merge( $.merge([],first), second);
//Result: ["a","b","c","d","e","f"]
注意:在Example1里面,merge之后,第一个数组会改变,而在Example2里则不会。