Timeline for Exploding Numbers
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | Community Bot |
Commonmark migration
|
|
| Feb 22, 2019 at 11:39 | comment | added | Kevin Cruijssen | @Arnauld Oh nice. Now that I see it I cannot believe I hadn't thought about that when I created a port from your answer, since you do the same.. >.> ;) | |
| Feb 22, 2019 at 11:39 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 181 characters in body
|
| Feb 22, 2019 at 10:22 | comment | added | Arnauld | 171 bytes with enhanced for loops. | |
| Feb 22, 2019 at 9:38 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
deleted 264 characters in body
|
| Feb 22, 2019 at 8:37 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 306 characters in body
|
| Feb 21, 2019 at 13:14 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
deleted 42 characters in body
|
| Feb 21, 2019 at 12:22 | comment | added | Kevin Cruijssen |
@Arnauld Ah ok. I indeed remembered out of bounds usually isn't an issue in JS, but I can understand why undefined[x] would fail. Anyway, your (x-X)**2+(y-Y)**2<3 check is pretty smart. Need to remember that when I ever want to check values in a matrix in a 3x3 block (and within bounds) around it. I think I actually have a few answers like that, where I now use a try-catch, and in one case try-finally.. Will look at those when I have some time.
|
|
| Feb 21, 2019 at 12:14 | comment | added | Arnauld |
m[y] with \$y\$ out of bounds is OK in JS (yielding undefined), but m[y][x] with \$y\$ out of bounds would crash as well.
|
|
| Feb 21, 2019 at 12:11 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
deleted 173 characters in body
|
| Feb 21, 2019 at 12:04 | history | answered | Kevin Cruijssen | CC BY-SA 4.0 |