Attempting to articulate the issue is somewhat challenging, so please refer to the code snippet below.
var test = {
my_array: [],
my_var: ''
}
var a = Object.create(test);
var b = Object.create(test);
a.my_array.push('aaa');
b.my_array.push('bbb');
a.my_var = 'this is obj A';
b.my_var = 'this is obj B';
document.write(a.my_array[0]); //output: aaa
document.write('<br>');
document.write(b.my_array[0]); //output: aaa
document.write('<br>');
document.write(a.my_var); //output: this is obj A
document.write('<br>');
document.write(b.my_var); //output: this is obj B
What leads to the scenario where both Object b and Object a have the same array value?