{"ScriptPreparationCode":"let props = [\r\n \u0022astId\u0022,\r\n \u0022astCode\u0022,\r\n \u0022astDescription\u0022,\r\n \u0022sttId\u0022,\r\n \u0022sttValue\u0022,\r\n \u0022sttDescription\u0022,\r\n \u0022asttId\u0022,\r\n \u0022asttDescription\u0022,\r\n \u0022astpId\u0022,\r\n \u0022astpCode\u0022,\r\n \u0022astpDescription\u0022,\r\n \u0022astpMake\u0022,\r\n \u0022astpModel\u0022,\r\n \u0022astSerialNumber\u0022,\r\n \u0022astAcquiredOn\u0022,\r\n \u0022astInstalledOn\u0022,\r\n \u0022astWarrantyExpiresOn\u0022,\r\n \u0022pltId\u0022,\r\n \u0022astIdParent\u0022,\r\n \u0022astCodeParent\u0022,\r\n \u0022astDescriptionParent\u0022,\r\n \u0022pltPlantCode\u0022,\r\n \u0022pltDescription\u0022,\r\n \u0022wrcId\u0022,\r\n \u0022wrcShortDesc\u0022,\r\n \u0022wrcDescription\u0022,\r\n \u0022mcnCode\u0022,\r\n \u0022mcnDescription\u0022,\r\n \u0022mchtDescription\u0022,\r\n \u0022astIdAstAv\u0022,\r\n \u0022purchaser\u0022,\r\n \u0022purchase Date\u0022,\r\n];\r\n\r\nlet empty = {};\r\nprops.forEach(prop =\u003E empty[prop] = null);\r\n\r\nfunction createEmptyRow() {\r\n const result = {};\r\n props.forEach(prop =\u003E result[prop] = null);\r\n return result;\r\n}\r\n\r\nfunction copyEmptyRow() {\r\n return { ...empty }\r\n}\r\n\r\nfunction copyEmptyRowAssign() {\r\n return Object.assign({}, empty);\r\n}","TestCases":[{"Name":"Direct","Code":"var data = createEmptyRow()","IsDeferred":false},{"Name":"Spread","Code":"var data = copyEmptyRow()","IsDeferred":false},{"Name":"Object.assign","Code":"var data = copyEmptyRowAssign()","IsDeferred":false}]}