Skip to content

strShuffle JavaScriptDart

Randomly shuffles the received string and returns it.

Parameters

  • str::string

Returns

string

Examples

javascript
strShuffle('abcdefg'); // Returns 'bgafced'

Released under the MIT License