mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +00:00
10 lines
258 B
Markdown
10 lines
258 B
Markdown
|
# `string.capitalize()` _(ext/string\_/capitalize)_
|
||
|
|
||
|
Capitalize input string, e.g. convert `this is a test` into `This is a test`.
|
||
|
|
||
|
```javascript
|
||
|
const capitalize = require("ext/string_/capitalize");
|
||
|
|
||
|
capitalize.call("this is a test"); // This is a test
|
||
|
```
|