{"ScriptPreparationCode":"var N = 1000,\r\n arr = Array(N).fill(0).map(item =\u003E Array(N).fill(0).map(x =\u003E Math.random()));","TestCases":[{"Name":"for spread","Code":"const newArr = [];\r\nfor(let i = 0; i \u003C N; i \u002B= 1) {\r\n newArr[i] = [...arr[i]];\r\n}","IsDeferred":false},{"Name":"map map","Code":"return arr.map(item =\u003E item.map(x =\u003E x));","IsDeferred":false},{"Name":"map spread","Code":"return arr.map(item =\u003E [...item]);","IsDeferred":false},{"Name":"map Array.from","Code":"return arr.map(item =\u003E Array.from(item));","IsDeferred":false},{"Name":"map slice","Code":"return arr.map(item =\u003E item.slice());","IsDeferred":false},{"Name":"map concat","Code":"return arr.map(item =\u003E [].concat(item));","IsDeferred":false},{"Name":"for map","Code":"const newArr = [];\r\nfor(let i = 0; i \u003C N; i \u002B= 1) {\r\n newArr[i] = arr[i].map(x =\u003E x);\r\n}\r\nreturn newArr;","IsDeferred":false}]}