Exercise: Count characters


Given a string count how many time each character appears. See this skeleton:


examples/arrays/count_characters_skeleton.js
"use strict";

var string = "hello world";