Timeline for Substitution cipher
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 15, 2016 at 23:46 | comment | added | Conor O'Brien | @Neil It should be, as that's how the examples are given. | |
Apr 15, 2016 at 23:45 | comment | added | Neil | Well, I meant instead of the split/join, but that works too, if it's an acceptable input format. | |
Apr 15, 2016 at 23:39 | comment | added | Conor O'Brien | @Neil Is that what you meant? | |
Apr 15, 2016 at 23:39 | history | edited | Conor O'Brien | CC BY-SA 3.0 |
deleted 2 characters in body
|
Apr 15, 2016 at 23:37 | comment | added | Conor O'Brien | @Neil That would make it four bytes longer, no? | |
Apr 15, 2016 at 23:36 | comment | added | Neil |
On second thoughts, s.replace(/./g,x=>...) might be shorter still.
|
|
Apr 15, 2016 at 23:35 | history | edited | Conor O'Brien | CC BY-SA 3.0 |
added 40 characters in body
|
Apr 15, 2016 at 23:35 | comment | added | Conor O'Brien | @Neil Ah, yes, of course. | |
Apr 15, 2016 at 23:34 | comment | added | Neil |
Use [...s] instead of s.split`` .
|
|
Apr 15, 2016 at 23:31 | history | answered | Conor O'Brien | CC BY-SA 3.0 |