Skip to content

Commit

Permalink
Update lib/node_modules/@stdlib/string/base/stickycase/README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Burckhardt <[email protected]>
  • Loading branch information
Planeshifter authored Mar 5, 2024
1 parent c6fab68 commit 56006e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/string/base/stickycase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ var out = stickycase( 'hello world' );
By default, the probability for any character to be capitalized is `0.5`. To set a different probability, provide a `p` argument.

```javascript
str = 'welcome!';
out = stickycase( 'welcome!', 0.2 );
var str = 'welcome!';
var out = stickycase( 'welcome!', 0.2 );
// returns <string>

str = 'good morning';
Expand Down

0 comments on commit 56006e2

Please sign in to comment.