{"ScriptPreparationCode":"var args = {\r\n prop1: [],\r\n prop2: []\r\n}\r\n\r\nfunction getRandomInt(min, max) {\r\n min = Math.ceil(min);\r\n max = Math.floor(max);\r\n return Math.floor(Math.random() * (max - min) \u002B min); // The maximum is exclusive and the minimum is inclusive\r\n}\r\n\r\nfor (var key in args) {\r\n var num = getRandomInt(100, 1000);\r\n for (var i = 0; i \u003C num; i\u002B\u002B) {\r\n args[key].push(Math.random());\r\n }\r\n}","TestCases":[{"Name":"stringify parse","Code":"var filteredArgs = Object.values(JSON.parse(JSON.stringify(args)));\r\nvar total = filteredArgs.flat().length;","IsDeferred":false},{"Name":"filter","Code":"var filteredArgs = Object.values(args).filter(arg =\u003E arg?.length \u003E 0);\r\nvar total = filteredArgs.flat().length;","IsDeferred":false}]}