Variable scrambleWordConst
scrambleWord: (word: string, options?: { random?: () => number }) => string
Type Declaration
-
- (word: string, options?: { random?: () => number }): string
-
Parameters
- word: string
Optionaloptions: { random?: () => number }
Returns string
Shuffle a word's letters — never returns the original (when possible).