{"ScriptPreparationCode":"var proto_slice = Array.prototype.slice;\r\nvar a = [1,2,3];","TestCases":[{"Name":"slice","Code":"Array.prototype.slice.call(a)","IsDeferred":false},{"Name":"switch","Code":"switch (a.length)\r\n {\r\n case 0: return [];\r\n case 1: return [a[0]];\r\n case 2: return [a[0], a[1]];\r\n case 3: return [a[0], a[1], a[2]];\r\n case 4: return [a[0], a[1], a[2], a[3]];\r\n case 5: return [a[0], a[1], a[2], a[3], a[4]];\r\n default: return proto_slice.call(a);\r\n }","IsDeferred":false}]}