{"ScriptPreparationCode":"function Foo(a, b, c) {\r\n\r\n this.a = a;\r\n this.b = b;\r\n this.c = c;\r\n\r\n this.sum = function() {\r\n\r\n return this.a \u002B this.b \u002B this.c;\r\n }\r\n}\r\n\r\nfunction Bar(a, b, c) {\r\n\r\n this.a = a;\r\n this.b = b;\r\n this.c = c;\r\n\r\n}\r\n\r\nBar.prototype.sum = function() {\r\n\r\n return this.a \u002B this.b \u002B this.c;\r\n}","TestCases":[{"Name":"With prototype","Code":"const bar = new Bar (1, 2, 3);\r\nbar.sum ();","IsDeferred":false},{"Name":"Without","Code":"const foo = new Foo (1, 2, 3);\r\nfoo.sum ();","IsDeferred":false}]}