I got one working function from google, but I can't understand it. I need to also write the reverse function
Can someone explain the logic? Both the calculation of how AA becomes 26 and the syntax if you would...
This one: when you input 27 it gives you aa
function idOf(i) {
return (i >= 26 ? idOf((i / 26 >> 0) - 1) : '') + 'abcdefghijklmnopqrstuvwxyz'[i % 26 >> 0];
}