This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (fn y=>(fn x=>(print(x^y^x^y))))(implode[chr(34)])"(fn y=>(fn x=>(print(x^y^x^y))))(implode[chr(34)])" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function pickRandomProperty(obj) { | |
| // from http://stackoverflow.com/questions/2532218/pick-random-property-from-a-javascript-object | |
| var result; | |
| var count = 0; | |
| for (var prop in obj) | |
| if (Math.random() < 1/++count) | |
| result = prop; | |
| return result; | |
| } |
NewerOlder