{"ScriptPreparationCode":"s = new Set();\r\na = [];\r\nfor (var i=0; i \u003C 1000; i\u002B\u002B) s.add(i*i);","TestCases":[{"Name":"array.splice","Code":"a.splice(0, a.length, ...s.values());","IsDeferred":false},{"Name":"for loop","Code":"a.length = 0;\r\nfor (var x of s) a.push(x);","IsDeferred":false}]}