Timeline for Remove duplicated & switched case
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 26 at 13:02 | comment | added | l4m2 | 54 | |
| Apr 13, 2017 at 12:39 | history | edited | Community Bot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
| Jul 18, 2016 at 17:25 | history | edited | c.P.u1 | CC BY-SA 3.0 |
added 119 characters in body
|
| Jul 18, 2016 at 17:23 | comment | added | c.P.u1 |
Yeah, or (code+"").length
|
|
| Jul 18, 2016 at 17:21 | comment | added | Neil |
Try using (code).toString().length.
|
|
| Jul 18, 2016 at 17:19 | comment | added | c.P.u1 |
Oh, sorry, I counted using "code".length, didn't realise there was an escape sequence in there. Thanks
|
|
| Jul 18, 2016 at 12:45 | comment | added | Neil |
Bad news: you miscounted, and that's actually 62 bytes. Good news: I can save you five bytes! s=>s.replace(/./g,c=>l=c!=l&/(.)1円/i.test(l+c)?'':c,l='')
|
|
| Jul 18, 2016 at 5:26 | history | answered | c.P.u1 | CC BY-SA 3.0 |