Pls, help!
The function should print the letters "A" through "F" to the console, one letter per second.
The function works without setInterval/setTimeout.
// setInterval(alphabet, 1000, 'a', 'f');
function alphabet(from, to) {
  var a = [], i = from.charCodeAt(0), j = to.charCodeAt(0);
  for (; i <= j; ++i) {
    setInterval(() => {
      a.push(String.fromCharCode(i));
    }, 1000);
  }
  // return console.log(a);
  return a;
}
console.log(alphabet('a', 'f'));
 
     
     
    