{"ScriptPreparationCode":"for (i = 0; i \u003C 10; i\u002B\u002B) {\r\n\r\n}","TestCases":[{"Name":"Test Spread operator","Code":"class firstObject {\r\n constructor() {\r\n \tthis.sampleData = \u0027Hello world\u0027,\r\n\tthis.sampleMethod = () =\u003E { return true; }\r\n }\r\n};\r\n\r\nconst secondObject = {...firstObject};\r\nObject.setPrototypeOf(secondObject, Object.getPrototypeOf(firstObject));","IsDeferred":false},{"Name":"Test Object.create","Code":"class firstObject {\r\n constructor() {\r\n \tthis.sampleData = \u0027Hello world\u0027,\r\n\tthis.sampleMethod = () =\u003E { return true; }\r\n }\r\n};\r\n\r\nconst secondObject = Object.create(Object.getPrototypeOf(firstObject), Object.getOwnPropertyDescriptors(firstObject));","IsDeferred":false},{"Name":"Test Object.assign","Code":"class firstObject {\r\n constructor() {\r\n \tthis.sampleData = \u0027Hello world\u0027,\r\n\tthis.sampleMethod = () =\u003E { return true; }\r\n }\r\n};\r\n\r\nconst secondObject = Object.assign({}, firstObject);\r\nObject.setPrototypeOf(secondObject, Object.getPrototypeOf(firstObject));","IsDeferred":false},{"Name":"Test New Object","Code":"class firstObject {\r\n constructor() {\r\n \tthis.sampleData = \u0027Hello world\u0027,\r\n\tthis.sampleMethod = () =\u003E { return true; }\r\n }\r\n};\r\n\r\nconst secondObject = new firstObject();","IsDeferred":false}]}