{"ScriptPreparationCode":"var route = {\r\n \u0022appConfigId\u0022: \u00228f7cd9d8534d0d10a86bddeeff7b12bc\u0022,\r\n \u0022experienceId\u0022: \u0022bb508d10530d0d10a86bddeeff7b12e9\u0022,\r\n \u0022experienceName\u0022: \u0022ACE App Builder\u0022,\r\n \u0022pageProperties\u0022: {\r\n \u0022chrome_header\u0022: \u0022{\\\u0022privatePage\\\u0022:{\\\u0022notificationsEnabled\\\u0022:true,\\\u0022searchEnabled\\\u0022:false,\\\u0022userPrefsEnabled\\\u0022:true,\\\u0022contextualConfigurationItems\\\u0022:{\\\u0022enabled\\\u0022:false},\\\u0022globalTools\\\u0022:{\\\u0022collapsingMenuId\\\u0022:0,\\\u0022primaryItems\\\u0022:[{\\\u0022label\\\u0022:\\\u0022UserMenu\\\u0022,\\\u0022icon\\\u0022:\\\u0022user\\\u0022,\\\u0022type\\\u0022:\\\u0022menu\\\u0022,\\\u0022primaryDisplay\\\u0022:\\\u0022icon\\\u0022,\\\u0022value\\\u0022:{\\\u0022children\\\u0022:[{\\\u0022label\\\u0022:\\\u0022Logout\\\u0022,\\\u0022position\\\u0022:500,\\\u0022type\\\u0022:\\\u0022navigation\\\u0022,\\\u0022value\\\u0022:{\\\u0022value\\\u0022:{\\\u0022href\\\u0022:\\\u0022/logout.do\\\u0022},\\\u0022type\\\u0022:\\\u0022external\\\u0022}}]}}]}},\\\u0022publicPage\\\u0022:{\\\u0022actionButtons\\\u0022:[],\\\u0022notificationsEnabled\\\u0022:false,\\\u0022searchEnabled\\\u0022:false,\\\u0022userPrefsEnabled\\\u0022:false,\\\u0022menuEnabled\\\u0022:false}}\u0022,\r\n \u0022ace_application_id\u0022: \u00221a418990530d0d10a86bddeeff7b1200\u0022,\r\n \u0022chrome_footer\u0022: \u0022{\\\u0022public_page\\\u0022:{\\\u0022enable_footer_topbar\\\u0022:false,\\\u0022footer_topbar_options\\\u0022:{},\\\u0022enable_footer_bar\\\u0022:false,\\\u0022footer_bar_options\\\u0022:{}}}\u0022\r\n },\r\n \u0022urlPath\u0022: \u0022now/ace-app-builder\u0022\r\n}\r\n\r\nfunction shallowCopy(...objs) {\r\n\tconst res = Object.create(null);\r\n for (const obj of objs) {\r\n for (const key in obj) {\r\n \t\tres[key] = obj[key];\r\n \t}\r\n }\r\n\tres.hasOwnProperty = (prop) =\u003E {\r\n\t\treturn prop in res;\r\n\t}\r\n\treturn res;\r\n}","TestCases":[{"Name":"spread","Code":"var res = {\r\n\t...route,\r\n\tviewportElementId: \u0027uxf-viewport-screen\u0027,\r\n\treinitialize: true\r\n}","IsDeferred":false},{"Name":"shallow copy","Code":"\r\nvar res = shallowCopy(route, {\r\n\tviewportElementId: \u0027uxf-viewport-screen\u0027,\r\n\treinitialize: true\r\n})","IsDeferred":false}]}