{"ScriptPreparationCode":"var leakyArguments = function () {\r\n return other(arguments)\r\n}\r\nvar nonLeakyArguments = function (args) {\r\n return other(args)\r\n}\r\nvar copyArgs = function () {\r\n var array = new Array(arguments.length)\r\n\r\n for (var i = 0; i \u003C array.length; i\u002B\u002B) {\r\n array[i] = arguments[i]\r\n }\r\n\r\n return other(array)\r\n}\r\n\r\nvar sliceArguments = function () {\r\n var array = Array.prototype.slice.apply(arguments)\r\n return other(array)\r\n}\r\n\r\nvar other = function (toSum) {\r\n var total = 0\r\n for (var i = 0; i \u003C toSum.length; i\u002B\u002B) {\r\n total \u002B= toSum[i]\r\n }\r\n return total\r\n}","TestCases":[{"Name":"leakyArguments","Code":"leakyArguments(1, 2, 3)","IsDeferred":false},{"Name":"Array.prototype.slice arguments","Code":"sliceArguments(1, 2, 3)","IsDeferred":false},{"Name":"copyArgs","Code":"copyArgs(1, 2, 3)","IsDeferred":false},{"Name":"nonLeaky","Code":"nonLeakyArguments([1, 2, 3])","IsDeferred":false}]}