有人可以解释以下代码片段的输出行为吗?
function Vertex(x, y, z) {
this.x = parseInt(x);
this.y = parseInt(y);
this.z = parseInt(z);
};
var set = {};
var v1 = new Vertex(1,2,3);
var v2 = new Vertex(2,3,4);
var v3 = new Vertex(1,2,3);
var v4 = new Vertex(4,5,6);
set[v1] = 10;
set[v2] = 11;
alert(set[v1] + " " + set[v2] + " " + set[v3] + " " + set[v4]);
// Output: 11 11 11 11