Timeline for Tips for Golfing in ECMAScript 6 and above
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 20, 2017 at 16:42 | comment | added | CalculatorFeline |
Could be useful in certain cases. Also, !~-x for -0 bytes.
|
|
Jul 20, 2017 at 15:18 | comment | added | ETHproductions |
@CalculatorFeline Thanks, but then it fails for 1 or 0 (because x would be 0 or -1 , respectively)
|
|
Jul 20, 2017 at 14:34 | comment | added | CalculatorFeline |
x==1 can probably be x<2 for savings.
|
|
Feb 11, 2017 at 15:08 | history | edited | ETHproductions | CC BY-SA 3.0 |
added 239 characters in body
|
Jan 17, 2017 at 15:30 | history | edited | ETHproductions | CC BY-SA 3.0 |
golfed 7 bytes
|
Dec 20, 2016 at 5:40 | history | edited | ETHproductions | CC BY-SA 3.0 |
yup
|
Dec 18, 2016 at 17:42 | comment | added | edc65 | But fail with too much recursion for an input as little as 12345 | |
Nov 17, 2016 at 16:25 | history | answered | ETHproductions | CC BY-SA 3.0 |