{"ScriptPreparationCode":null,"TestCases":[{"Name":"ES6 Class","Code":"class Point {\r\n\tconstructor(x, y){\r\n\t\tthis.x = x;\r\n\t\tthis.y = y;\r\n }\r\n}\r\n\r\nvar p1 = new Point(10, 10);\r\nvar p2 = new Point(10, -10);","IsDeferred":false},{"Name":"Function Prototype","Code":"function Point(x, y){\r\n\tthis.x = x;\r\n\tthis.y = y;\r\n}\r\n\r\nvar p1 = new Point(10, 10);\r\nvar p2 = new Point(10, -10);\r\n","IsDeferred":false},{"Name":"Object Literal","Code":"function Point(x, y){\r\n\treturn {\r\n \tx, \r\n \ty\r\n } \r\n}\r\n\r\nvar p1 = Point(10, 10);\r\nvar p2 = Point(10, -10);","IsDeferred":false}]}