// original = ["a", "b", "c", "d", "e"]
// splice = original.splice()
// original
a,b,c,d,e

// original.length
5

// splice
undefined

// splice.length
undefined


// splice = original.splice(2)
// original
a,b

// original.length
2

// splice
c,d,e

// splice.length
3


// splice = original.splice(6)
// original
a,b,c,d,e

// original.length
5

// splice


// splice.length
0


// splice = original.splice(2, 2)
// original
a,b,e

// original.length
3

// splice
c,d

// splice.length
2


// splice = original.splice(2, 8)
// original
a,b

// original.length
2

// splice
c,d,e

// splice.length
3


// splice = original.splice(1, 3, "deleted")
// original
a,deleted,e

// original.length
3

// splice
b,c,d

// splice.length
3


// splice = original.splice(1, 2, "x", "y", "z")
// original
a,x,y,z,d,e

// original.length
6

// splice
b,c

// splice.length
2


// splice = original.splice(0, 0, "w", ["x", "y"], "z")
// original
w,x,y,z,a,b,c,d,e

// original.length
8

// splice


// splice.length
0


// splice = original.splice(2, -2)
// original
a,b,c,d,e

// original.length
5

// splice
undefined

// splice.length
undefined

// splice = original.splice(1, 0, 'a')
// original
a

// original.length
1

// splice


// splice.length
0

// splice = original.splice(-9, 0, 'c')
// original
c,a,b

// original.length
3

// splice


// splice.length
0


