PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 3ms RepoModel.GetById 37ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/tests/javascript.expected/javascript-foreach.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 16 lines | 15 code | 0 blank | 1 comment | 3 complexity | d1132272163f95edefdea842342c67c2 MD5 | raw file
 1/* automatically generated by JSCoverage - do not edit */
 2if (! top._$jscoverage) {
 3  top._$jscoverage = {};
 4}
 5var _$jscoverage = top._$jscoverage;
 6if (! _$jscoverage['javascript-foreach.js']) {
 7  _$jscoverage['javascript-foreach.js'] = [];
 8  _$jscoverage['javascript-foreach.js'][6] = 0;
 9  _$jscoverage['javascript-foreach.js'][7] = 0;
10}
11_$jscoverage['javascript-foreach.js'][6]++;
12for each (var item in obj) {
13  _$jscoverage['javascript-foreach.js'][7]++;
14  sum += item;
15}
16_$jscoverage['javascript-foreach.js'].source = ["<span class=\"c\">/*</span>","<span class=\"c\">https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Object_Manipulation_Statements</span>","<span class=\"c\">https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Statements/for_each...in</span>","<span class=\"c\">*/</span>","","<span class=\"k\">for</span> each <span class=\"k\">(</span><span class=\"k\">var</span> item <span class=\"k\">in</span> obj<span class=\"k\">)</span> <span class=\"k\">{</span>","  sum <span class=\"k\">+=</span> item<span class=\"k\">;</span>","<span class=\"k\">}</span>"];