{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.from","Code":"const elements = document.all;\r\nconst arr = Array.from(elements);","IsDeferred":false},{"Name":"Array.slice","Code":"const elements = document.all;\r\nconst arr = Array.prototype.slice.call(elements, 0);","IsDeferred":false},{"Name":"Array.push","Code":"const elements = document.all;\r\nconst amount = elements.length;\r\nconst arr = [];\r\nfor (let i = 0; i \u003C amount; i \u002B= 1) arr.push(elements[i]);","IsDeferred":false},{"Name":"Array[index]","Code":"const elements = document.all;\r\nconst amount = elements.length;\r\nconst arr = Array(amount);\r\nfor (let i = 0; i \u003C amount; i \u002B= 1) arr[i] = elements[i];","IsDeferred":false},{"Name":"Array spread","Code":"const elements = document.all;\r\nconst arr = [...elements];","IsDeferred":false}]}