Wrong result
Variable
A
:
var b = a
:
b.splice(3);
Variable
A
:
Correct result
Variable
C
:
d = [].concat(c)
:
d.splice(3);
Variable
C
: