function foo(items) { for (var i=0; i