function highest (string) {
let frequencyMap = {};
let array = string.split("");
array.forEach((value, index) => {
if (!frequencyMap[value]) {
frequencyMap[value] = 0;
}
frequencyMap[value] += 1;
});
console.log(frequencyMap);
}
console.log(highest("helloWorld"));