So I have this function that has the following JSDoc
/**
* Initializes a new game, this means creating a new map and centering on the
* playerbase
*
* @param {object} param1
* @param {number} param1.seed
* */
Currently I have this as the function definition
initNewGame({ seed }) {}
But I would like to have a default value for seed, which is randomInt(0, 100000)
. How can I achieve this.