{"ScriptPreparationCode":"var object = { \r\n title: \u0027title\u0027,\r\n subtitle: \u0027subtitle\u0027,\r\n description: \u0027Learn more about URL shortening. Short links come with 100% free accounts. Get private click stats, QR codes and basic tagging. Or upgrade with dozens of powerful features in paid plans starting at $5. Special discount for tiny.cc users!\u0027,\r\n someInt: 5,\r\n someOtherInt: 10.5,\r\n arr: [\r\n {\r\n title: \u0027title\u0027,\r\n subtitle: \u0027subtitle\u0027,\r\n description: \u0027Learn more about URL shortening. Short links come with 100% free accounts. Get private click stats, QR codes and basic tagging. Or upgrade with dozens of powerful features in paid plans starting at $5. Special discount for tiny.cc users!\u0027,\r\n someInt: 5,\r\n someOtherInt: 10.5\r\n },\r\n {\r\n title: \u0027title\u0027,\r\n subtitle: \u0027subtitle\u0027,\r\n description: \u0027Learn more about URL shortening. Short links come with 100% free accounts. Get private click stats, QR codes and basic tagging. Or upgrade with dozens of powerful features in paid plans starting at $5. Special discount for tiny.cc users!\u0027,\r\n someInt: 5,\r\n someOtherInt: 10.5\r\n },\r\n {\r\n title: \u0027title\u0027,\r\n subtitle: \u0027subtitle\u0027,\r\n description: \u0027Learn more about URL shortening. Short links come with 100% free accounts. Get private click stats, QR codes and basic tagging. Or upgrade with dozens of powerful features in paid plans starting at $5. Special discount for tiny.cc users!\u0027,\r\n someInt: 5,\r\n someOtherInt: 10.5\r\n },\r\n {\r\n title: \u0027title\u0027,\r\n subtitle: \u0027subtitle\u0027,\r\n description: \u0027Learn more about URL shortening. Short links come with 100% free accounts. Get private click stats, QR codes and basic tagging. Or upgrade with dozens of powerful features in paid plans starting at $5. Special discount for tiny.cc users!\u0027,\r\n someInt: 5,\r\n someOtherInt: 10.5\r\n }\r\n ]\r\n}","TestCases":[{"Name":"Spread operator","Code":"function merged () {\r\n return {\r\n\t...object,\r\n \tarr: null,\r\n }\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n console.log(merged())\r\n}\r\n","IsDeferred":false},{"Name":"Cloning","Code":"function merged () {\r\n const clone = JSON.parse(JSON.stringify(object))\r\n delete clone.arr\r\n return clone\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n console.log(merged())\r\n}","IsDeferred":false},{"Name":"Object.assign()","Code":"function merged () {\r\n const changes = { arr: null }\r\n return Object.assign({}, object, changes);\r\n}\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n console.log(merged())\r\n}","IsDeferred":false}]}