{"ScriptPreparationCode":"fetch(\r\n \u0027https://fd-gmx-addin-dev.azurefd.net/assets/functions-typedoc.json\u0027\r\n).then((x) =\u003E x.json()).then(x =\u003E window.excelFunctions = x);","TestCases":[{"Name":"old method","Code":" window.excelFunctions.reduce((categoryGroups, current) =\u003E {\r\n const categoryGroup = categoryGroups[current.category] || [];\r\n categoryGroups[current.category] = categoryGroup.concat(current);\r\n\r\n return categoryGroups;\r\n }, {});","IsDeferred":false},{"Name":"new method","Code":" window.excelFunctions.reduce((categoryGroups, current) =\u003E {\r\n if (categoryGroups[current.category]) {\r\n categoryGroups[current.category].push(current);\r\n } else {\r\n categoryGroups[current.category] = [current];\r\n }\r\n\r\n return categoryGroups;\r\n }, {});","IsDeferred":false}]}