{"ScriptPreparationCode":null,"TestCases":[{"Name":"native reverse","Code":"a = [\u0027one\u0027, \u0027two\u0027, \u0027three\u0027, \u0027four\u0027];\r\nb = a.reverse();","IsDeferred":false},{"Name":"costume","Code":"a = [\u0027one\u0027, \u0027two\u0027, \u0027three\u0027, \u0027four\u0027];\t\r\nvar i=0, len=a.length, j=len-1;\r\nvar k, tmp, mid=len/2|0; // same as Math.floor\r\n\r\nfor (; i \u003C mid; i\u002B\u002B) {\r\n\t\ttmp = a[i];\r\n\t\tk = j - i;\r\n\t\ta[i] = a[k];\r\n\t\ta[k] = tmp;\r\n}","IsDeferred":false}]}