{"ScriptPreparationCode":"var testVar = 10;","TestCases":[{"Name":"Cache in the inner scope","Code":"function doTest1(){\r\n var sum = 0;\r\n for (var i = 0; i \u003C testVar; i\u002B\u002B){\r\n sum = sum \u002B i;\r\n }\r\n}\r\ndoTest1();","IsDeferred":false},{"Name":"Do not cache at all","Code":"function doTest2(){\r\n var sum = 0;\r\n var testVarLocal = testVar;\r\n for (var i = 0; i \u003C testVarLocal; i\u002B\u002B){\r\n sum = sum \u002B i;\r\n }\r\n}\r\ndoTest2();","IsDeferred":false}]}