{"ScriptPreparationCode":"var query = {\r\n dates: [],\r\n latestDate: \u0027whatever\u0027\r\n};\r\nvar query2 = {\r\n current: {\r\n query: {\r\n dates: [1, 2, 3],\r\n latestDate: \u0027whatever2\u0027\r\n }\r\n }\r\n}","TestCases":[{"Name":"delete","Code":"let storeQuery = { ...query };\r\nlet latestQuery = { ...query2.current?.query };\r\n\r\ndelete storeQuery.latestDate;\r\ndelete latestQuery.latestDate;\t","IsDeferred":false},{"Name":"spread without","Code":"const { latestDate: remove, ...storeQuery } = query;\r\nconst { latestDate: remove1, ...latestQuery } = query2.current?.query || {};","IsDeferred":false},{"Name":"spread override","Code":"const storeQuery = { ...query, lastDate: null }; \r\nconst latestQuery = { ...query2.current?.query, lastDate: null };","IsDeferred":false}]}