Timeline for No strings (or numbers) attached
Current License: CC BY-SA 3.0
25 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/
|
|
| S Mar 11, 2016 at 23:29 | history | suggested | Charlie Wynn | CC BY-SA 3.0 |
Whoops, I keep trying to add numbers in this - trying to undo my suggested edit
|
| Mar 11, 2016 at 21:29 | review | Suggested edits | |||
| S Mar 11, 2016 at 23:29 | |||||
| Mar 2, 2016 at 21:44 | comment | added | ETHproductions |
I was gonna say that NaN counts as a number, but it's literally Not a Number :P
|
|
| Mar 2, 2016 at 21:39 | history | edited | user81655 | CC BY-SA 3.0 |
deleted 68 characters in body
|
| Mar 2, 2016 at 21:29 | comment | added | Charlie Wynn | (a=Date.length)*--a does 42 in 19 bytes | |
| Mar 2, 2016 at 0:52 | comment | added | user81655 | @Mwr247 Nice, thanks! Functions seem to cast to strings differently depending on the JavaScript implementation so I included your 42 solution as a comment. | |
| Mar 2, 2016 at 0:49 | history | edited | user81655 | CC BY-SA 3.0 |
Improved
|
| Mar 1, 2016 at 22:17 | comment | added | Mwr247 |
Save one on 42 with (escape+NaN).length. P.S. Today I learned that JavaScript is really weird...
|
|
| Mar 1, 2016 at 21:49 | comment | added | Mwr247 |
Save four on 7 with Date.length
|
|
| Mar 1, 2016 at 18:25 | comment | added | Charlie Wynn | Save two on 10 with (a=-~!![])<<a^a | |
| Dec 18, 2015 at 21:55 | history | edited | user81655 | CC BY-SA 3.0 |
Clarified comments
|
| Dec 18, 2015 at 21:45 | history | edited | user81655 | CC BY-SA 3.0 |
Improvements from comments
|
| Dec 18, 2015 at 20:45 | comment | added | DocMax |
Save one on 42 with: (a=-~-~-~Math.PI)*(++a)
|
|
| Dec 18, 2015 at 20:39 | comment | added | rgajrawala |
Use +[] for 0 (saves 1 byte).
|
|
| Dec 18, 2015 at 20:31 | comment | added | DocMax |
You can save one on 9 with (a=~Math.E)*a
|
|
| Dec 18, 2015 at 14:25 | comment | added | user81655 | @SjoerdJobPostmus Oh of course! Thanks for catching that. | |
| Dec 18, 2015 at 14:25 | history | edited | user81655 | CC BY-SA 3.0 |
Improvements from comments
|
| Dec 18, 2015 at 13:48 | comment | added | Sjoerd Job Postmus |
For 5, 6 you can also use -~-~Math.PI and -~-~-~Math.PI saving another byte (twice).
|
|
| Dec 18, 2015 at 7:34 | comment | added | user81655 | @edc65 Thanks! I thought there would be something I could do with PI. :) | |
| Dec 18, 2015 at 7:34 | history | edited | user81655 | CC BY-SA 3.0 |
Improvement from comments
|
| Dec 18, 2015 at 7:32 | comment | added | edc65 | Try 4: -~Math.PI | |
| Dec 18, 2015 at 7:27 | history | edited | user81655 | CC BY-SA 3.0 |
Improved
|
| Dec 18, 2015 at 7:22 | history | edited | user81655 | CC BY-SA 3.0 |
Improved
|
| Dec 18, 2015 at 7:15 | history | answered | user81655 | CC BY-SA 3.0 |