Skip to main content
12 events
when toggle format what by license comment
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Sep 16, 2016 at 13:23 history edited ASCII-only CC BY-SA 3.0
deleted 116 characters in body
Sep 14, 2016 at 8:30 comment added ASCII-only @CedricReichenbach Try it, it works perfectly fine, plus I explain its absence right after the snippet
Sep 14, 2016 at 7:43 comment added Cedric Reichenbach Isn't there a g missing at the end of the first regex?
Sep 13, 2016 at 8:48 history edited ASCII-only CC BY-SA 3.0
added 103 characters in body
Sep 13, 2016 at 8:47 comment added Neil Oh wow, I didn't realise replace would help so much, that's really neat!
Sep 13, 2016 at 8:46 history edited ASCII-only CC BY-SA 3.0
added 241 characters in body
Sep 13, 2016 at 8:43 comment added ASCII-only Yeah, sorry, I had it to make sure Chromium console puts the function call outside the function body (had it once on a badly written lambda)
Sep 13, 2016 at 8:41 comment added Neil I see now - I hadn't copied the ; which isn't required (JavaScript has ASI).
Sep 13, 2016 at 8:39 comment added ASCII-only 97 for me, both from manual length and userscript, maybe you didn't count the newline, but only because I accidentally included the semicolon
Sep 13, 2016 at 8:00 comment added Neil I count 96 bytes? Also, the m regexp flag is unnecessary (did you have a $ at one point?) as is the space in (p, c). Finally, I think replace will work out shorter than [...p].map().join.
Sep 13, 2016 at 6:01 history answered ASCII-only CC BY-SA 3.0