XKCD.js 478 B

1234567891011121314151617181920212223242526
  1. /**
  2. * XKCD operations.
  3. *
  4. * @author n1474335 [n1474335@gmail.com]
  5. * @copyright Crown Copyright 2018
  6. * @license Apache-2.0
  7. *
  8. * @namespace
  9. */
  10. const XKCD = {
  11. /**
  12. * XKCD Random Number operation.
  13. *
  14. * @param {string} input
  15. * @param {Object[]} args
  16. * @returns {number}
  17. */
  18. runRandomNumber: function(input, args) {
  19. return 4; // chosen by fair dice roll.
  20. // guaranteed to be random.
  21. },
  22. };
  23. export default XKCD;