{"ScriptPreparationCode":"var obj = {};\r\nfor (let i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const randomNum = Math.floor(Math.random() * 4);\r\n obj[i.toString()] =\r\n randomNum === 0 ? \u0022undefined\u0022 : randomNum === 1 ? false : true;\r\n}","TestCases":[{"Name":"Lodash pickBy","Code":"_.pickBy(obj);","IsDeferred":false},{"Name":"Native Filter","Code":"function pickBy(object) {\r\n const obj = {};\r\n for (const key in object) {\r\n if (object[key]) {\r\n obj[key] = object[key];\r\n }\r\n }\r\n return obj;\r\n}\r\n\r\npickBy(obj)","IsDeferred":false}]}