B2G/gecko/netwerk/test/httpserver/test/test_async_response_sending.js
/** Returns the sum of the elements in arr. */
Returns the sum of the elements in arr.
Returns the sum of the elements in arr .
function sum(arr)
{
  var sum = 0;
  for (var i = 0, sz = arr.length; i < sz; i++)
    sum += arr[i];
  return sum;
}
function sum ( arr ) { var sum = 0 ; for ( var i = 0 , sz = arr . length ; i < sz ; i ++ ) sum += arr [ i ] ; return sum ; }
Returns the sum of the elements in arr.
Returns the sum of the elements in arr .