function makeObj() { let num = 0 let obj = {} for (let i = 65; i 90 && 97 > i)) obj[String.fromCharCode(i)] = [Math.round(num * 10000) / 10000, Math.round((Math.round((num += 0.018) * 10000) / 10000 - 0.0001) * 10000) / 10000] } obj[' '] = [0.936, 0.9539] obj['end'] = [0.954, 1] return obj } function compression(str) { let obj = makeObj() let compressionRange = [0, 1] let num_2 = '0.' for (let i..