JSFiddle - React, Tailwind, and code Playground
by MuLtDirectX
JavaScript
function counter() {
let count = 0
let arr = [97]
return () => {
if (count < 26) {
console.log(String.fromCharCode.apply('', arr))
count++
arr[0] = count
}
}
}
counter()()
counter()()