convert an integer into an array of digits in JavaScript | using the spread operator Published -- Download video MP4 360p