Yolo
{"ScriptPreparationCode":"console.log(\u0022js preparation\u0022);","TestCases":[{"Name":"Prototype","Code":"function Person() {\r\n\r\n}\r\n\r\nPerson.prototype.add = function(a, b) {\r\n\treturn a \u002B b;\r\n};\r\n\r\nPerson.prototype.subtract = function(a, b) {\r\n\treturn a - b;\r\n};\r\n\r\nvar dude = new Person;\r\n\r\ndude.subtract(10, 5);","IsDeferred":false},{"Name":"Object Return","Code":"function person() {\r\n\treturn {\r\n\t\tadd: function(a, b) {\r\n\t\t\treturn a \u002B b;\r\n\t\t},\r\n\t\tsubtract: function(a, b) {\r\n\t\t\treturn a - b;\r\n\t\t}\r\n\t};\r\n}\r\n\r\nvar dude = new person();\r\n\r\ndude.subtract(10, 5);","IsDeferred":false}]}