Timeline for Simple way to convert integer to array in JavaScript
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 5, 2020 at 12:20 | vote | accept | chojnicki | ||
| Apr 5, 2020 at 12:13 | comment | added | Manikant Gautam | @NickParsons agreed | |
| Apr 5, 2020 at 12:10 | history | edited | Manikant Gautam | CC BY-SA 4.0 | added 78 characters in body |
| Apr 5, 2020 at 12:09 | comment | added | Nick Parsons | you can also apply a mapping function to get the same output as OP: Array.from(Array(6).keys(), i => i+1) | |
| Apr 5, 2020 at 12:08 | history | answered | Manikant Gautam | CC BY-SA 4.0 |