{"ScriptPreparationCode":"var array = [];\r\nfor (let m = 0; m \u003C 40; m\u002B\u002B) {\r\n array.push(m);\r\n}","TestCases":[{"Name":"Using array slice","Code":"let clone = array.slice();","IsDeferred":false},{"Name":"Using array spread","Code":"let clone = [...array];","IsDeferred":false},{"Name":"Using array push and spread","Code":"let clone = [];\r\nclone.push(...array);","IsDeferred":false},{"Name":"Using for loop and push","Code":"let clone = [];\r\nfor (let i = 0; i \u003C array.length; i\u002B\u002B) {\r\n clone.push(array[i]);\r\n}","IsDeferred":false},{"Name":"Using array concat","Code":"let clone = [].concat(array);","IsDeferred":false}]}