Test case details

Preparation Code

function Point(x, y) {       this.x = x;       this.y = y;     }

Test cases

Test #1

var obj = {   x: 10,   y: 10 }; return obj;

Test #2

var obj = Object.create(null); return obj;

Test #3

var obj = new Point(10, 10); return obj;