answered
Loading…
revised
The Base in the mix
added 61 characters in body
Loading…
comment
The Base in the mix
I also think you can save some bytes by using
a[0]?stuff():0
instead of a.length&&stuff()
comment
The Base in the mix
I think you can save 3 bytes by using
parseInt(a,b)
instead of parseInt(a[0],b)
since parseInt
converts the first argument to string and ignores everything starting at the first invalid character (i.e. ',').
revised
The Base in the mix
snippet
Loading…
answered
Loading…
revised
String Concatenation
added snippet
Loading…
revised
String Concatenation
miscounted bytes
Loading…
awarded
revised
String Concatenation
Added breakdown
Loading…
revised
String Concatenation
deleted 92 characters in body
Loading…
revised
String Concatenation
added 18 characters in body
Loading…
answered
Loading…
revised
Make me a mooncake!
deleted 2 characters in body
Loading…
revised
Make me a mooncake!
Golfed down further by changing the way the padding is added
Loading…
revised
Make me a mooncake!
-4 bytes thanks to @Arnauld
Loading…
revised
Make me a mooncake!
deleted 1 character in body
Loading…
revised
Make me a mooncake!
saved 7 bytes thanks to `Date.now()%2`
Loading…
revised
Make me a mooncake!
saved 4 bytes
Loading…
revised
Make me a mooncake!
Saved another 7 bytes by moving `repeat(m)` out of `a`
Loading…