Timeline for Robbers - square times square root
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:39 | history | edited | Community Bot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
| Apr 5, 2017 at 10:01 | comment | added | Arjun |
Ah! I was thinking that _26_ was something ES7 specific. Didn't know that variables can be in this form too! (I have never seen a variable without an alphabet). That was a very clever approach by @Neil. And you were very clever too in cracking it! Have your well-deserved +1! :)
|
|
| Apr 5, 2017 at 9:24 | comment | added | Joe |
@Arjun _26_=> defines an anonymous function taking one parameter called _26_ (variables may start with an underscore but not a number). Then the remainder is just using ** as Math.pow() to raise the input to the power of 2.5 (6.25 power 0.5).
|
|
| Apr 5, 2017 at 7:30 | comment | added | Arjun | How does this work? | |
| Apr 4, 2017 at 17:39 | comment | added | Ilmari Karonen | @SethWhite: I had to use all the characters that Neil used in his scrambled code, otherwise this wouldn't have been a valid crack. | |
| Apr 3, 2017 at 23:57 | history | answered | Ilmari Karonen | CC BY-SA 3.0 |