{"ScriptPreparationCode":null,"TestCases":[{"Name":"from with mapper","Code":"let n = 10000, length = 50\r\nconst result = []\r\nconst lengthObj = {length:length}\r\nconst mapper = (_, i) =\u003E i \u003C 25 ? 0 : 1\r\nfor (let i = 0; i \u003C n; \u002B\u002Bi) {\r\n result.push(Array.from(lengthObj, mapper));\r\n}","IsDeferred":false},{"Name":"fill twice","Code":"let n = 10000, length = 50\r\nconst result = []\r\nfor (let i = 0; i \u003C n; \u002B\u002Bi) {\r\n result.push(Array(5).fill(0, 0, 25).fill(1, 25));\r\n}","IsDeferred":false}]}