(min, max)
| 2 | |
| 3 | // Returns a random integer between min (inclusive) and max (inclusive) |
| 4 | const getRandomInt = (min, max) => Math.floor(Math.random() * ((max - min) + 1)) + min; |
| 5 | |
| 6 | module.exports.luckyNumber = (event, context, callback) => { |
| 7 | const upperLimit = event.request.intent.slots.UpperLimit.value || 100; |