{"ScriptPreparationCode":"var EMPTY_ARRAY = Object.freeze([]);\r\nvar values = {\r\n \u0022name\u0022: \u0022\u0022,\r\n \u0022deviceGroup\u0022: {disabled: false, displayName: \u0022MXChip IoT DevKit -\u2026}\u0022},\r\n \u0022definitionId\u0022: \u0022urn:no3cohdk_:modelDefinition:c8feiwglut\u0022,\r\n \u0022properties\u0022: [],\r\n \u0022command\u0022: {item: undefined, value: undefined}\r\n }\r\nvar obj = { a: 1, b: []}\r\n","TestCases":[{"Name":"EMPTY_ARRAY","Code":"immer.produce(values, draft =\u003E {\r\n draft.x = \u0027asdf\u0027;\r\n draft.y = \u0027blah\u0027;\r\n draft.obj = obj;\r\n draft.test = EMPTY_ARRAY;\r\n})","IsDeferred":false},{"Name":"New Array","Code":"immer.produce(values, draft =\u003E {\r\n draft.x = \u0027asdf\u0027;\r\n draft.y = \u0027blah\u0027;\r\n draft.obj = obj;\r\n draft.test = [];\r\n})","IsDeferred":false}]}