mirror of https://github.com/gchq/CyberChef.git
27 lines
478 B
JavaScript
27 lines
478 B
JavaScript
|
/**
|
||
|
* XKCD operations.
|
||
|
*
|
||
|
* @author n1474335 [n1474335@gmail.com]
|
||
|
* @copyright Crown Copyright 2018
|
||
|
* @license Apache-2.0
|
||
|
*
|
||
|
* @namespace
|
||
|
*/
|
||
|
const XKCD = {
|
||
|
|
||
|
/**
|
||
|
* XKCD Random Number operation.
|
||
|
*
|
||
|
* @param {string} input
|
||
|
* @param {Object[]} args
|
||
|
* @returns {number}
|
||
|
*/
|
||
|
runRandomNumber: function(input, args) {
|
||
|
return 4; // chosen by fair dice roll.
|
||
|
// guaranteed to be random.
|
||
|
},
|
||
|
|
||
|
};
|
||
|
|
||
|
export default XKCD;
|