Merge function does not work correctly with 0/false values with same indexes.
|Reported by:||victorbartel||Owned by:||flesler|
Premature merge process finalization is occurred when 0/false values is situated in same positions in both arrays. For example $.merge([1,2,3],[4,5]) will work correctly and return [1,2,3,4,5] but $.merge([0,1,3],[0,2,4]) will return only [0,1,3]. This bug is caused by following comparison during while loop : while ( elem = second[ i++ ] ), when element is equal to 0/false and second[i++] has same value, interpreter will exit from loop. Solution modify loop properly.