How do I output the array to the screen?

Sorry for the question, but.... How to display, not the console
var string = 'Car without wheels',

 sums = {}; 
string.split(").map(function(e){
 e = e.toLowerCase();
 sums[e] = !sums[e] ? 1 : sums[e]+1;
});

console.log(sums);


Well, that was too much of an object but - 2 pieces, b - 3 pieces. Why can't I get sums.length ?
Plnkr
July 9th 19 at 10:05
1 answer
July 9th 19 at 10:07
Display - document.write(); or document.getElementById(...).innerHTML = "...";
The lack of length - you have not an array but a list (hash).

Find more questions by tags JavaScript