Array.from(+{}+'') .map((_,$)=>$>=1?_.repeat(2):_.toLowerCase()) .reverse().join('') .slice(1,5); Enter fullscreen mode Exit fullscreen mode