This website collects cookies to deliver better user experience

How to convert a number into an array in JavaScript?