function myBook(){ this.x = 0; this.y = 0; } book = new Array(); book[0] = new myBook(); book[0].x+=10;book[0].y+=10; book[1] = book[0]; book[1].x = 1; alert(book[0].x);