//fyi this won't work in ie8, but each() in lodash fixes all that [].forEach.call('blue',function(prop){ console.log(prop); }); //logs b,l,u,e to console //note that this works because 'blue' has a length property console.log('blue'.length);