
var splice = function ( a, ai, aj, b, bi, bj ) {

	if ( aj < 0 ) {
		aj += a.length;
	}

	return Array.prototype.splice.apply(
		a,
		[ai, aj - ai].concat( slice( b, bi, bj ) )
	);
};

exports.splice = splice;

@@ -49,16 +49,148 @@
 %7B%0A%0A%09if (
+ ai === undefined ) %7B%0A%09%09ai = 0;%0A%09%7D%0A%0A%09else if ( ai %3C 0 ) %7B%0A%09%09ai += a.length;%0A%09%7D%0A%0A%09if ( aj === undefined ) %7B%0A%09%09aj = ai;%0A%09%7D%0A%0A%09else if (
  aj %3C 0 

change implementation of splice